aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Mikhirev2014-12-06 21:20:45 +0300
committerDmitry Mikhirev2014-12-06 21:20:45 +0300
commit47ff76dc94a6d8e1b8fd368a1721d4258d8c1389 (patch)
treeb623fe07ab56ade2d5f4353b2e735a7d1faf3035
parent6c3cbd6ba778b17e38ded41db90f91187193ba0e (diff)
downloadbrainuino-47ff76dc94a6d8e1b8fd368a1721d4258d8c1389.zip
brainuino-47ff76dc94a6d8e1b8fd368a1721d4258d8c1389.tar.gz
brainuino-47ff76dc94a6d8e1b8fd368a1721d4258d8c1389.tar.bz2
brainuino-47ff76dc94a6d8e1b8fd368a1721d4258d8c1389.tar.xz
vimrc: automatically regenerate tags
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index ca36e1a..5d956d6 100644
--- a/.vimrc
+++ b/.vimrc
@@ -2,3 +2,4 @@ setlocal shiftwidth=2
setlocal softtabstop=2
setlocal expandtab
autocmd BufNewFile,BufRead *.ino setlocal ft=cpp
+autocmd BufWritePost *.ino,*.cpp,*.h silent !ctags --language-force=C++ *.ino *.cpp *.h