summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2024-12-21 11:06:19 -0400
committerBen Sima <ben@bsima.me>2024-12-21 10:06:19 -0500
commit7f0fd2bb6de504541f9c9fa8eaf5126087ae81a3 (patch)
tree759f07f538353304aed1961916466e8b47c787a5 /.vimrc
parent2f6cd392ad63d5f2d21a2a5b45038dc127a2c3a9 (diff)
Rewrite mktags.sh to MakeTags.py
This makes tags for all third-party dependencies, and uses universal-ctags instead of fast-tags. It's so nice having tags for /everything/. It's also pretty fast, and caches the result for third-party deps anyway. Oh yeah this also added an explicit list of third-party Python packages. I need to filter the entire pkgset down to just the ones I'm using in order to make tags for them.
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc12
1 files changed, 8 insertions, 4 deletions
diff --git a/.vimrc b/.vimrc
index e116e14..ded7532 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,9 +1,13 @@
" requires: https://github.com/MarcWeber/vim-addon-local-vimrc
augroup tags
-au BufWritePost *.hs silent !$CODEROOT/Biz/Ide/mktags.sh %
-au BufWritePost *.hsc silent !$CODEROOT/Biz/Ide/mktags.sh %
-au BufWritePost *.lhs silent !$CODEROOT/Biz/Ide/mktags.sh %
+au BufWritePost *.hs silent !$CODEROOT/Biz/Ide/MakeTags.py %
+au BufWritePost *.hsc silent !$CODEROOT/Biz/Ide/MakeTags.py %
+au BufWritePost *.lhs silent !$CODEROOT/Biz/Ide/MakeTags.py %
+au BufWritePost *.py silent !$CODEROOT/Biz/Ide/MakeTags.py %
+au BufWritePost *.rs silent !$CODEROOT/Biz/Ide/MakeTags.py %
+au BufWritePost *.c silent !$CODEROOT/Biz/Ide/MakeTags.py %
+au BufWritePost *.scm silent !$CODEROOT/Biz/Ide/MakeTags.py %
augroup END
set equalprg=ormolu
-
+setl tags=$CODEROOT/tags,$CODEROOT/_/src/tags