Tuesday, December 24, 2013

Re: Vim source code

On Tuesday, December 24, 2013 11:29:06 AM UTC-6, riemann wrote:
> The question originates from my wish to have automatic user defined
> types syntax highlighting. So that if I have for example a syntax match group
>
> UDT for classes and have this in the buffer
>
>
>
>
> 1   class mytype {
> 2   //...
> 3   };
> 4
> 5   mytype a;
> 6   mytype b;
>
>
>
>
> "mytype" is highlighted on lines 5 and 6 besides 1.
>

Ah, so you want to highlight functions and types as you code.

> To my knowledge this is not possible in vim unless the source code is modified.
>
>

There, you'd be very incorrect.

Try this plugin: http://www.vim.org/scripts/script.php?script_id=3114

And next time please bottom-post on this list. http://en.wikipedia.org/wiki/Bottom_post#Bottom-posting

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: