https://github.com/agvxov/vim-hitags
Hitags is a Vim plugin which harnesses the power of ctags to provide dynamic symbol (e.g. variable, function) name highlighting.
https://github.com/agvxov/vim-hitags
vim vim-plugin vim-syntax
Last synced: 12 months ago
JSON representation
Hitags is a Vim plugin which harnesses the power of ctags to provide dynamic symbol (e.g. variable, function) name highlighting.
- Host: GitHub
- URL: https://github.com/agvxov/vim-hitags
- Owner: agvxov
- Created: 2023-10-02T14:13:20.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-28T22:48:48.000Z (about 1 year ago)
- Last Synced: 2025-02-06T13:42:30.899Z (about 1 year ago)
- Topics: vim, vim-plugin, vim-syntax
- Language: Vim Script
- Homepage:
- Size: 247 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HiTags
> Hitags is a Vim plugin which harnesses the power of ctags
> to provide dynamic symbol (e.g. variable, function) name highlighting.
Now, comes with experimental tool tips in insert mode.
# Before/After

# Runtime dependencies
+ [mimetype](https://packages.gentoo.org/packages/dev-perl/File-MimeInfo) (sadly, `file -i` does not suffice)
+ python3 (system installation, not Vim compile flag)
+ ctags (tested with Universal ctags)
+ **_(Optional)_** gcc/clang/fcpp (to preprocess C/C++ files)
# Installation
1. Clone the source
2. Run:
```Bash
$ make; make install
```
Note: if you don't have (GNU) Make installed for some reason,
opening `Makefile` with vim and copy pasting the commands (whats indented)
to your shell should also suffice
3. Configure Vim to actually invoke the plugin.
Achieve this by appending / overriding the following definition in your .vimrc.
```VimScript
let g:hitags_events = ["BufWrite"] " trigger a symbol update on writes
```
4. **_(Optional)_** Further configure HiTags by editing ~/.vim/plugin/hitags.vim.
All required details are commented right there in the script.
5. Enjoy