aboutsummaryrefslogblamecommitdiff
path: root/vim/after/indent/vim.vim
blob: 6e2eb7f3907411c06603ba37942145e384acdf13 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                          
                                            

     

                                                

                                                         
" Remove inapplicable defaults from 'indentkeys'
" Should only need to undo this if the stock plugin didn't
setlocal indentkeys-=0#,0{,0},0),:
if !exists('b:undo_indent')
  let b:undo_indent = 'setlocal indentkeys<'
endif

" Observe VimL conventions for two-space indents
setlocal shiftwidth=2
setlocal softtabstop=2
let b:undo_indent .= '|setlocal shiftwidth< softtabstop<'