2025-01-28 23:50:01 +01:00
2023-10-01 15:44:26 +02:00
2023-10-01 15:44:26 +02:00
2023-10-01 15:44:26 +02:00
2023-10-02 18:02:44 +02:00
2025-01-03 21:21:42 +01:00
2025-01-03 21:36:36 +01:00
2024-03-29 20:21:32 +01:00
2025-01-03 21:18:02 +01:00

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

before_after

Runtime dependencies

  • mimetype (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:

 $ 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

  1. Configure Vim to actually invoke the plugin. Achieve this by appending / overriding the following definition in your .vimrc.
let g:hitags_events = ["BufWrite"]  " trigger a symbol update on writes
  1. (Optional) Further configure HiTags by editing ~/.vim/plugin/hitags.vim. All required details are commented right there in the script.

  2. Enjoy

Description
No description provided
Readme 284 KiB
Languages
Vim Script 80.2%
Python 10.5%
C 5.1%
Makefile 2.8%
C++ 0.8%
Other 0.6%