Update vimrc - tag local variables
This commit is contained in:
parent
821e1b56d1
commit
35f9d18f1d
3
vimrc
3
vimrc
|
@ -340,7 +340,8 @@ augroup campoCmds
|
|||
autocmd BufWritePost vimrc.symlink so $MYVIMRC
|
||||
|
||||
" Generate ctags
|
||||
au BufWritePost *.py,*.c,*.cpp,*.h silent! !eval 'ctags -R -o newtags; mv newtags tags' &
|
||||
" Include local variables for c languages.
|
||||
au BufWritePost *.py,*.c,*.cpp,*.h silent! !eval 'ctags --c-types=+l --c++-types=+l -R -o newtags; mv newtags tags' &
|
||||
|
||||
" Remove trailing whitespace on save all files.
|
||||
function! <SID>StripTrailingWhitespaces()
|
||||
|
|
Loading…
Reference in New Issue
Block a user