aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/mail.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/ftplugin/mail.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/ftplugin/mail.vim')
-rw-r--r--vim/after/ftplugin/mail.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index 898fd6a8..457135ef 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -26,13 +26,13 @@ let b:undo_ftplugin .= '|setlocal formatoptions<'
" Define what constitutes a 'blank line' for the squeeze_repeat_blanks.vim
" plugin, if loaded, to include leading quotes and spaces
-if exists('g:loaded_squeeze_repeat_blanks')
+if exists('loaded_squeeze_repeat_blanks')
let b:squeeze_repeat_blanks_blank = '^[ >]*$'
let b:undo_ftplugin .= '|unlet b:squeeze_repeat_blanks_blank'
endif
" Stop here if the user doesn't want ftplugin mappings
-if exists('g:no_plugin_maps') || exists('g:no_mail_maps')
+if exists('no_plugin_maps') || exists('no_mail_maps')
finish
endif