Wednesday, September 19, 2012

Re: dynamic syntax highlighting

[ Quoting <miek@miek.nl> in "Re: dynamic syntax highlighting..." ]
> What you write makes a lot of sense :)
>
> However http://majutsushi.github.com/tagbar/ does detect some of the
> stuff I want to highlight. I think I'll poke in that package to see
> what I can come up with.

OK, sofar (with zero vimscript knowledge) I'm going to do this:

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)

Regards,

--
Miek Gieben http://miek.nl

No comments:

Post a Comment