aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-02 17:28:30 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-02 17:28:30 +1200
commit0388a3468f7531b8a02c0fcbec873500f2135441 (patch)
tree8ee2341d9b5f7d803a665229cb1f8c57f2976efe /plugin
parentInitial commit (diff)
downloadvim-toggle-flags-0388a3468f7531b8a02c0fcbec873500f2135441.tar.gz
vim-toggle-flags-0388a3468f7531b8a02c0fcbec873500f2135441.zip
Use consistent plugin and file names
Diffstat (limited to 'plugin')
-rw-r--r--plugin/toggle_option_flags.vim (renamed from plugin/toggle_option_flag.vim)6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/toggle_option_flag.vim b/plugin/toggle_option_flags.vim
index bc7ccd7..1a639f4 100644
--- a/plugin/toggle_option_flag.vim
+++ b/plugin/toggle_option_flags.vim
@@ -1,17 +1,17 @@
"
-" toggle_option_flag.vim: Provide commands to toggle flags in grouped options
+" toggle_option_flags.vim: Provide commands to toggle flags in grouped options
" like 'formatoptions', 'shortmess', 'complete', 'switchbuf', etc.
"
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('g:loaded_toggle_option_flag') || &compatible
+if exists('g:loaded_toggle_option_flags') || &compatible
finish
endif
if !has('user_commands')
finish
endif
-let g:loaded_toggle_option_flag = 1
+let g:loaded_toggle_option_flags = 1
" Show an error-highlighted message and beep, but without a real :echoerr
function! s:Error(message)