HiTags
Hitags is a Vim plugin which harnesses the power of ctags to provide dynamic symbol (e.g. varriable, function) name highlightings.
Before/After
/* NOTE: TODO */
Dependencies
- mimetype (sadly,
file -i
does not suffice) - python3 (system installation, not Vim compile flag)
- ctags (tested with Universal ctags)
- gcc/clang (to preprocess C/C++ files)
Installation
-
Clone the source
-
Run:
$ make; make install
Note: if you dont have (GNU) Make installed for some reason,
opening Makefile
with vim and copy pasting the commands (whats indented)
to your shell should also suffice
- Configure Vim to actually invoke the plugin. Achive this by appending / overriding the following definition in your .vimrc.
let g:hitags_events = ["BufWrite"] " trigger a symbol update on writes
-
(Optional) Further configure HiTags by editing ~/.vim/plugin/hitags.vim. All reguired details are commented right there in the script.
-
Enjoy
Description
Languages
Vim Script
80.2%
Python
10.5%
C
5.1%
Makefile
2.8%
C++
0.8%
Other
0.6%