aboutsummaryrefslogtreecommitdiff
path: root/vim/after/syntax/sh.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-01 10:07:25 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-01 10:07:25 +1300
commit861b9dfbf90b4f7481669aaf49157f9c9f8d2bb2 (patch)
tree598ee82be167a812f98b61117b1e0f1f439dee89 /vim/after/syntax/sh.vim
parentMerge branch 'hotfix/v1.71.2' (diff)
parentBump VERSION (diff)
downloaddotfiles-861b9dfbf90b4f7481669aaf49157f9c9f8d2bb2.tar.gz
dotfiles-861b9dfbf90b4f7481669aaf49157f9c9f8d2bb2.zip
Merge branch 'hotfix/v1.71.3'v1.71.3
* hotfix/v1.71.3: Ignore unset variables in sh.vim clear script
Diffstat (limited to 'vim/after/syntax/sh.vim')
-rw-r--r--vim/after/syntax/sh.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/after/syntax/sh.vim b/vim/after/syntax/sh.vim
index 5c15be61..f02f30f5 100644
--- a/vim/after/syntax/sh.vim
+++ b/vim/after/syntax/sh.vim
@@ -7,7 +7,7 @@ endif
" Remove g:is_posix if we resorted to it in order to get correct POSIX sh
" highlighting with older Vim runtime files
if exists('g:is_posix')
- unlet g:is_posix g:is_kornshell
+ unlet! g:is_posix g:is_kornshell
endif
" If we know we have another shell type, clear away the others completely, now