aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin
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/plugin
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/plugin')
-rw-r--r--vim/plugin/dist.vim16
-rw-r--r--vim/plugin/wildignore.vim4
2 files changed, 10 insertions, 10 deletions
diff --git a/vim/plugin/dist.vim b/vim/plugin/dist.vim
index eb814387..7c745e4f 100644
--- a/vim/plugin/dist.vim
+++ b/vim/plugin/dist.vim
@@ -1,15 +1,15 @@
" Skip loading some plugins:
" I manage plugins myself with Git and a Makefile
-let g:loaded_getscriptPlugin = 1
-let g:loaded_vimballPlugin = 1
+let loaded_getscriptPlugin = 1
+let loaded_vimballPlugin = 1
" Vim is the wrong tool for reading archives
-let g:loaded_tarPlugin = 1
-let g:loaded_zipPlugin = 1
+let loaded_tarPlugin = 1
+let loaded_zipPlugin = 1
" I prefer filtering text with Unix tools
-let g:loaded_logiPat = 1
+let loaded_logiPat = 1
" The shell, tab completion, and 'wildmenu' are good enough
-let g:loaded_netrwPlugin = 1
+let loaded_netrwPlugin = 1
" I don't use Vim servers
-let g:loaded_rrhelper = 1
+let loaded_rrhelper = 1
" I don't need extra spelling files
-let g:loaded_spellfile_plugin = 1
+let loaded_spellfile_plugin = 1
diff --git a/vim/plugin/wildignore.vim b/vim/plugin/wildignore.vim
index a08e0251..a99a2eb0 100644
--- a/vim/plugin/wildignore.vim
+++ b/vim/plugin/wildignore.vim
@@ -4,10 +4,10 @@
if &compatible || v:version < 700 || !has('wildignore')
finish
endif
-if exists('g:loaded_wildmenu')
+if exists('loaded_wildmenu')
finish
endif
-let g:loaded_wildmenu = 1
+let loaded_wildmenu = 1
" Helper function for local scope
function! s:Wildignore() abort