aboutsummaryrefslogtreecommitdiff
path: root/vim/after/syntax/sh.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-09 00:03:10 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-09 00:03:10 +1200
commitacb2ed1390d98516d8d1d5fd7ca83ed4d55af948 (patch)
tree0b2e1b11e12b4090860cf52560f2a2eb457b42dd /vim/after/syntax/sh.vim
parentRemap g& to preserve substitution flags (diff)
downloaddotfiles-acb2ed1390d98516d8d1d5fd7ca83ed4d55af948.tar.gz
dotfiles-acb2ed1390d98516d8d1d5fd7ca83ed4d55af948.zip
Remove unnecessary g: prefixes to Vim variables
Diffstat (limited to 'vim/after/syntax/sh.vim')
-rw-r--r--vim/after/syntax/sh.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/after/syntax/sh.vim b/vim/after/syntax/sh.vim
index 95ec5546..797bdab9 100644
--- a/vim/after/syntax/sh.vim
+++ b/vim/after/syntax/sh.vim
@@ -1,7 +1,7 @@
" 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
+if exists('is_posix')
+ unlet! is_posix is_kornshell
endif
" If we know we have another shell type, clear away the others completely, now