diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-02 17:33:45 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-02 17:33:45 +1200 |
commit | e43464f96e68c26498599e118cadcd700d30c8b9 (patch) | |
tree | 9826a18948a9d7574339dde3889f58909fabd12a | |
parent | Initial commit (diff) | |
parent | Add VERSION (diff) | |
download | vim-toggle-flags-e43464f96e68c26498599e118cadcd700d30c8b9.tar.gz vim-toggle-flags-e43464f96e68c26498599e118cadcd700d30c8b9.zip |
Merge branch 'release/v0.2.0'v0.2.0
* release/v0.2.0:
Add VERSION
Use consistent plugin and file names
-rw-r--r-- | README.markdown | 4 | ||||
-rw-r--r-- | VERSION | 1 | ||||
-rw-r--r-- | doc/toggle_option_flags.txt (renamed from doc/toggle_option_flag.txt) | 12 | ||||
-rw-r--r-- | plugin/toggle_option_flags.vim (renamed from plugin/toggle_option_flag.vim) | 6 |
4 files changed, 12 insertions, 11 deletions
diff --git a/README.markdown b/README.markdown index 0203257..6333e16 100644 --- a/README.markdown +++ b/README.markdown @@ -1,5 +1,5 @@ -toggle\_option\_flag.vim -======================== +toggle\_option\_flags.vim +========================= This plugin provides `:ToggleOptionFlag` and `:ToggleOptionFlagLocal` commands to toggle the values of options like `'formatoptions'` or `'complete'` that @@ -0,0 +1 @@ +0.2.0 diff --git a/doc/toggle_option_flag.txt b/doc/toggle_option_flags.txt index a421da3..0ab9e72 100644 --- a/doc/toggle_option_flag.txt +++ b/doc/toggle_option_flags.txt @@ -1,6 +1,6 @@ -*toggle_option_flag.txt* For Vim version 7.0 Last change: 2018 May 30 +*toggle_option_flags.txt* For Vim version 7.0 Last change: 2018 May 30 -DESCRIPTION *toggle_option_flag* +DESCRIPTION *toggle_option_flags* *:ToggleOptionFlag* *:ToggleOptionFlagLocal* This plugin provides `:ToggleOptionFlag` and `:ToggleOptionFlagLocal` commands @@ -8,22 +8,22 @@ to toggle the values of options like |'formatoptions'| or |'complete'| that have values comprised of single-character or comma-separated flags. The author originally designed it for toggling flags in |'formatoptions'| quickly. -EXAMPLES *toggle_option_flag-examples* +EXAMPLES *toggle_option_flags-examples* > :ToggleOptionFlag formatoptions a :ToggleOptionFlag switchbuf useopen :ToggleOptionFlagLocal shortmess I < -REQUIREMENTS *toggle_option_flag-requirements* +REQUIREMENTS *toggle_option_flags-requirements* This plugin is only available if 'compatible' is not set. It also requires the |+user_commands| Vim feature. -AUTHOR *toggle_option_flag-author* +AUTHOR *toggle_option_flags-author* Written and maintained by Tom Ryder <tom@sanctum.geek.nz>. -LICENSE *toggle_option_flag-license* +LICENSE *toggle_option_flags-license* Licensed for distribution under the same terms as Vim itself (see |license|). 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) |