Fix broken eterm/konsole detection on TERM=screen
A typo - I used ==# where I meant =~#
This commit is contained in:
parent
ba187f34ef
commit
5988674c15
@ -793,7 +793,7 @@ function! s:CSApproxSnapshot(file, overwrite)
|
||||
|
||||
if round == 'konsole' || round == 'eterm'
|
||||
let lines += [ 'elseif has("gui_running") || (&t_Co == ' . &t_Co
|
||||
\ . ' && (&term ==# "xterm" || &term ==# "^screen")'
|
||||
\ . ' && (&term ==# "xterm" || &term =~# "^screen")'
|
||||
\ . ' && exists("g:CSApprox_' . round . '")'
|
||||
\ . ' && g:CSApprox_' . round . ')'
|
||||
\ . ' || &term =~? "^' . round . '"' ]
|
||||
|
Loading…
Reference in New Issue
Block a user