1
0
forked from aniani/vim

patch 8.2.4982: colors in terminal window are not 100% correct

Problem:    Colors in terminal window are not 100% correct.
Solution:   Use g:terminal_ansi_colors as documented. (closes #10429,
            closes #7227 closes #10347)
This commit is contained in:
LemonBoy
2022-05-20 10:10:34 +01:00
committed by Bram Moolenaar
parent 1755a91851
commit b2b3acbf2b
9 changed files with 204 additions and 49 deletions

View File

@@ -2679,8 +2679,8 @@ func Test_range()
else
let cmd = "ls"
endif
call assert_fails('call term_start("' .. cmd .. '", #{term_finish: "close"})', 'E475:')
unlet g:terminal_ansi_colors
call assert_fails('call term_start("' .. cmd .. '", #{term_finish: "close"'
\ .. ', ansi_colors: range(16)})', 'E475:')
endif
" type()