Patch 8.2.3156

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 12, 2021, 4:16:00 PM7/12/21
to vim...@googlegroups.com

Patch 8.2.3156
Problem: Vim9: term_getansicolors() test fails without +termguicolors.
Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
Files: src/testdir/test_vim9_builtin.vim


*** ../vim-8.2.3155/src/testdir/test_vim9_builtin.vim 2021-07-11 22:04:22.575750556 +0200
--- src/testdir/test_vim9_builtin.vim 2021-07-12 22:13:10.822987466 +0200
***************
*** 2217,2222 ****
--- 2217,2223 ----

def Test_term_getansicolors()
CheckRunVimInTerminal
+ CheckFeature termguicolors
CheckDefAndScriptFailure2(['term_getansicolors(["a"])'], 'E1013: Argument 1: type mismatch, expected string but got list<string>', 'E745: Using a List as a Number')
enddef

*** ../vim-8.2.3155/src/version.c 2021-07-12 21:43:15.921878554 +0200
--- src/version.c 2021-07-12 22:14:31.742856088 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3156,
/**/

--
hundred-and-one symptoms of being an internet addict:
129. You cancel your newspaper subscription.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages