diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 00:03:10 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 00:03:10 +1200 |
commit | acb2ed1390d98516d8d1d5fd7ca83ed4d55af948 (patch) | |
tree | 0b2e1b11e12b4090860cf52560f2a2eb457b42dd /vim/after/ftplugin/sh.vim | |
parent | Remap g& to preserve substitution flags (diff) | |
download | dotfiles-acb2ed1390d98516d8d1d5fd7ca83ed4d55af948.tar.gz dotfiles-acb2ed1390d98516d8d1d5fd7ca83ed4d55af948.zip |
Remove unnecessary g: prefixes to Vim variables
Diffstat (limited to 'vim/after/ftplugin/sh.vim')
-rw-r--r-- | vim/after/ftplugin/sh.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/after/ftplugin/sh.vim b/vim/after/ftplugin/sh.vim index 0fece696..7ded5134 100644 --- a/vim/after/ftplugin/sh.vim +++ b/vim/after/ftplugin/sh.vim @@ -25,7 +25,7 @@ let b:undo_ftplugin .= '|unlet b:current_compiler b:sh_check_compiler' " 8.1.257 updated the runtime files to include a fix for this if exists('b:is_posix') \ && (v:version < 800 || v:version == 800 && !has('patch257')) - let g:is_posix = 1 + let is_posix = 1 endif " Queue up undo commands to clear the shell language flags that we set for @@ -34,7 +34,7 @@ endif let b:undo_ftplugin .= '|unlet! b:is_bash b:is_kornshell b:is_posix' " Stop here if the user doesn't want ftplugin mappings -if exists('g:no_plugin_maps') || exists('g:no_sh_maps') +if exists('no_plugin_maps') || exists('no_sh_maps') finish endif |