diff options
Diffstat (limited to 'vim/after/indent/vim.vim')
-rw-r--r-- | vim/after/indent/vim.vim | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/vim/after/indent/vim.vim b/vim/after/indent/vim.vim index 0767bca0..4300e125 100644 --- a/vim/after/indent/vim.vim +++ b/vim/after/indent/vim.vim @@ -5,10 +5,5 @@ if !exists('b:undo_indent') let b:undo_indent = 'setlocal indentkeys<' endif -" Observe VimL conventions for two-space indents -setlocal shiftwidth=2 -let b:undo_indent .= '|setlocal shiftwidth<' -if &softtabstop != -1 - let &l:softtabstop = &l:shiftwidth - let b:undo_indent .= '|setlocal softtabstop<' -endif +" Use two (not four!) spaces for indentation, per convention +call indent#Spaces(2) |