From 3a1d2d0439697528dc115e84990daab3ae9d4aa3 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 11 Jun 2019 11:56:09 +1200 Subject: Allow -bar after commands --- plugin/toggle_flags.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin/toggle_flags.vim') 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#(, 0) -command -nargs=+ -complete=option ToggleFlagLocal +command -bar -nargs=+ -complete=option ToggleFlagLocal \ call toggle_flags#(, 1) -- cgit v1.2.3