- commit
- aefd788a5f872bb5eadcbdc1fcc978ead1bd7aba
- parent
- a5c913b0df19ec08b12dcd29f051ea63abd3934a
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2016-09-11 23:16
optional width argument in shortcut commands
Diffstat
| M | plugin/detectindent.vim | 5 | ++--- |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugin/detectindent.vim b/plugin/detectindent.vim
@@ -39,8 +39,7 @@ function! DetectIndent() 39 39 call SetIndent() 40 40 endfunction 41 4142 -1 command! Tabs call SetIndent(0, 2)43 -1 command! Spaces call SetIndent(1, 4)44 -1 command! Spaces2 call SetIndent(1, 2)-1 42 command! -nargs=? Tabs call SetIndent(0, <f-args>) -1 43 command! -nargs=? Spaces call SetIndent(1, <f-args>) 45 44 46 45 autocmd BufNewFile,BufRead * call DetectIndent()