aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:52:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:52:02 +1200
commitd8bd5da832230302ca3bbd38c894cec476455b77 (patch)
tree1c847ca6d4fbe977387c711bbe3abbe0d7202fbc
parentMerge branch 'release/v3.1.0' into develop (diff)
downloadvim-strip-trailing-whitespace-d8bd5da832230302ca3bbd38c894cec476455b77.tar.gz
vim-strip-trailing-whitespace-d8bd5da832230302ca3bbd38c894cec476455b77.zip
Allow -bar after command
-rw-r--r--plugin/strip_trailing_whitespace.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/strip_trailing_whitespace.vim b/plugin/strip_trailing_whitespace.vim
index a20a8a1..df454fc 100644
--- a/plugin/strip_trailing_whitespace.vim
+++ b/plugin/strip_trailing_whitespace.vim
@@ -15,5 +15,5 @@ endif
let loaded_strip_trailing_whitespace = 1
" User command for the above
-command! -range=% StripTrailingWhitespace
+command! -bar -range=% StripTrailingWhitespace
\ call strip_trailing_whitespace#(<line1>, <line2>)