[ Quoting <[email protected]> in "Re: dynamic syntax highlighting..." ] > 1 use tagbar to get a list of whatever (currently focussing on Types) > 2 use http://www.drchip.org/astronaut/vim/vbafiles/hilinks.vba.gz hilinktrace > to get a handle on what syntax is used. > 3 do a: > * :syntax clear > * :syntax on > * :syntax keyword goType += Radix "Radix is an example > > The goType keyword should become apparent in step 2 (somehow)
It's even easier, the syntax highlighting file uses <lang>Type, so
for Go its goType for the types. So
1. use tagbar to get a list of whatever (currently focussing on Type)
2. :syntax clear
:syntax on
:syntax keyword goType += TypeYouFound
Regards,
--
Miek Gieben http://miek.nl
signature.asc
Description: Digital signature
