aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:56:35 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:56:35 +1200
commit95aa2b83543456ae100c697adb79a57b9aeccb10 (patch)
tree0db284cb7ce5a6481ed0938ce9d23683883987c4 /plugin
parentMerge branch 'release/v3.0.0' (diff)
parentBump VERSION (diff)
downloadvim-toggle-flags-master.tar.gz
vim-toggle-flags-master.zip
Merge branch 'release/v3.1.0'HEADv3.1.0master
* release/v3.1.0: Allow -bar after commands
Diffstat (limited to 'plugin')
-rw-r--r--plugin/toggle_flags.vim4
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)