aboutsummaryrefslogtreecommitdiff
path: root/vim/after/syntax/sh.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-01 00:09:16 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-01 09:08:28 +1300
commit609affc91be74cd355aaa0b949bcc18a4065fbb4 (patch)
tree9b4e0c22e8929cb6dc79ee3d952f7fd3acdb69e2 /vim/after/syntax/sh.vim
parentRemove extraneous spacing between words (diff)
downloaddotfiles-609affc91be74cd355aaa0b949bcc18a4065fbb4.tar.gz
dotfiles-609affc91be74cd355aaa0b949bcc18a4065fbb4.zip
Correct variable name in comment
This was unintentionally committed in e36efd4. The correct name of the variable is b:is_ksh. b:is_kornshell_proper was a rejected first revision of the name.
Diffstat (limited to 'vim/after/syntax/sh.vim')
-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