allows :LesserAlign command to take arguments

This commit is contained in:
Junegunn Choi
2013-04-11 20:54:05 +09:00
parent 39a520ed7b
commit 37734710c4
3 changed files with 65 additions and 47 deletions

View File

@@ -3,4 +3,4 @@ if exists("g:lesser_align_plugin_loaded")
endif
let g:lesser_align_plugin_loaded = 1
command! -nargs=0 -range LesserAlign <line1>,<line2>call lesser_align#align()
command! -nargs=* -range LesserAlign <line1>,<line2>call lesser_align#align(<f-args>)