From 32eb59e1e377c31ebe695b51ccdc243602887fbe Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 19 Jul 2018 21:51:25 +1200 Subject: Rename plugin and commands --- plugin/toggle_option_flags.vim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugin/toggle_option_flags.vim') diff --git a/plugin/toggle_option_flags.vim b/plugin/toggle_option_flags.vim index 49142ed..1d396a3 100644 --- a/plugin/toggle_option_flags.vim +++ b/plugin/toggle_option_flags.vim @@ -1,17 +1,17 @@ " -" toggle_option_flags.vim: Provide commands to toggle flags in grouped options +" toggle_flags.vim: Provide commands to toggle flags in grouped options " like 'formatoptions', 'shortmess', 'complete', 'switchbuf', etc. " " Author: Tom Ryder " License: Same as Vim itself " -if exists('g:loaded_toggle_option_flags') || &compatible +if exists('g:loaded_toggle_flags') || &compatible finish endif if !has('user_commands') finish endif -let g:loaded_toggle_option_flags = 1 +let g:loaded_toggle_flags = 1 " Show an error-highlighted message and beep, but without a real :echoerr function! s:Error(message) @@ -96,8 +96,8 @@ endfunction " User commands wrapping around calls to the above function command -nargs=+ -complete=option - \ ToggleOptionFlag + \ ToggleFlag \ call Toggle(, 0) command -nargs=+ -complete=option - \ ToggleOptionFlagLocal + \ ToggleFlagLocal \ call Toggle(, 1) -- cgit v1.2.3