diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-11 11:56:35 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-11 11:56:35 +1200 |
commit | 95aa2b83543456ae100c697adb79a57b9aeccb10 (patch) | |
tree | 0db284cb7ce5a6481ed0938ce9d23683883987c4 /plugin/toggle_flags.vim | |
parent | Merge branch 'release/v3.0.0' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-toggle-flags-95aa2b83543456ae100c697adb79a57b9aeccb10.tar.gz vim-toggle-flags-95aa2b83543456ae100c697adb79a57b9aeccb10.zip |
* release/v3.1.0:
Allow -bar after commands
Diffstat (limited to 'plugin/toggle_flags.vim')
-rw-r--r-- | plugin/toggle_flags.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/toggle_flags.vim b/plugin/toggle_flags.vim index 5e5bdf7..f824510 100644 --- a/plugin/toggle_flags.vim +++ b/plugin/toggle_flags.vim @@ -11,7 +11,7 @@ endif let loaded_toggle_flags = 1 " User commands wrapping around calls to the above function -command -nargs=+ -complete=option ToggleFlag +command -bar -nargs=+ -complete=option ToggleFlag \ call toggle_flags#(<f-args>, 0) -command -nargs=+ -complete=option ToggleFlagLocal +command -bar -nargs=+ -complete=option ToggleFlagLocal \ call toggle_flags#(<f-args>, 1) |