Note that this is no longer up to date as the mirroring service has stopped working. If you want the latest version, go to https://heptapod.host/cgtk/taghighlight
At first, thanks for your script.
I try to configure this vim script in my vim to read linux kernel, mainly to highlight local variables, but it seems not works. my configure steps as follows:
clone this repo into '~/.vim/bundle/';
add below configures in my vimrc:
set tags+=/mnt/nvme8n1/wrw/git/mainline/linux/tags
let g:taghighlight_enable = 1
" let g:taghighlight_variable = 'LocalVariable'
let b:TypesFileIncludeLocals = 1
hi LocalVariable guibg=yellow
hi CTagsGlobalVariable ctermfg=5
hi GlobalVariable ctermfg=5
hi CTagsLocalVariable ctermfg=2
hi LocalVariable ctermfg=21
I don't know what I need to set for highlighting local variables.