Fix broken eterm/konsole detection on TERM=screen

A typo - I used ==# where I meant =~#
This commit is contained in:
Matt Wozniski 2009-01-21 19:32:31 -05:00
parent ba187f34ef
commit 5988674c15

View File

@ -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 . '"' ]