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/vim.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/vim.vim')
-rw-r--r-- | vim/after/ftplugin/vim.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/after/ftplugin/vim.vim b/vim/after/ftplugin/vim.vim index 790dd38e..76608691 100644 --- a/vim/after/ftplugin/vim.vim +++ b/vim/after/ftplugin/vim.vim @@ -19,7 +19,7 @@ endif " Adjust the match words for the matchit plugin; the default filetype plugin " matches e.g. an opening "function" with the first "return" within, which I " don't like -if exists('g:loaded_matchit') +if exists('loaded_matchit') let b:match_words = \ '\<fu\%[nction]\>:\<endf\%[unction]\>,' . \ '\<\(wh\%[ile]\|for\)\>:\<end\(w\%[hile]\|fo\%[r]\)\>,' . @@ -29,7 +29,7 @@ if exists('g:loaded_matchit') endif " Stop here if the user doesn't want ftplugin mappings -if exists('g:no_plugin_maps') || exists('g:no_vim_maps') +if exists('no_plugin_maps') || exists('no_vim_maps') finish endif |