aboutsummaryrefslogtreecommitdiff
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
parentMerge branch 'release/v3.0.0' (diff)
parentBump VERSION (diff)
downloadvim-toggle-flags-95aa2b83543456ae100c697adb79a57b9aeccb10.tar.gz
vim-toggle-flags-95aa2b83543456ae100c697adb79a57b9aeccb10.zip
Merge branch 'release/v3.1.0'HEADv3.1.0master
* release/v3.1.0: Allow -bar after commands
-rw-r--r--VERSION2
-rw-r--r--plugin/toggle_flags.vim4
2 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 4a36342..fd2a018 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.0.0
+3.1.0
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)