aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/syntax/sh.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/vim/after/syntax/sh.vim b/vim/after/syntax/sh.vim
index 9da1095d..d07f4cff 100644
--- a/vim/after/syntax/sh.vim
+++ b/vim/after/syntax/sh.vim
@@ -1,8 +1,7 @@
" If g:is_posix is set, g:is_kornshell is probably set too, a strange decision
" by sh.vim. No matter; we can tease out whether this is actually a Korn shell
-" script using our own b:is_kornshell_proper flag set at the end of
-" ~/.vim/ftdetect/sh.vim, and if it isn't, we'll throw away the highlighting
-" groups for ksh.
+" script using our own b:is_ksh flag set at the end of ~/.vim/ftdetect/sh.vim,
+" and if it isn't, we'll throw away the highlighting groups for ksh.
if exists('g:is_kornshell') && !exists('b:is_ksh')
syntax clear kshSpecialVariables
syntax clear kshStatement