Thursday, December 29, 2011

Re: weird highlighting when i edit java code

"register word highlighted in vim" first hit in google:
http://vim.1045645.n5.nabble.com/Why-is-quot-template-quot-highlighted-in-Java-code-td1169135.html

Sent from my iPad

On 2011.12.29., at 12:23, Rian Hunter <rian@thelig.ht> wrote:

> hey all
>
> i seem to be getting weird behavior when editing java code and i'm not sure why. for some reason every time i have the word "register" in my source file it gets red highlighting. i just started using vim so i thought this was an error but my code seems to compile correctly. i've googled around but there is too much garbage in google when i search for "register vim java". i've been able to isolate and reproduce the problem, here's a screenshot:
>
> http://dl.dropbox.com/u/27498157/redhighlight.png
>
> am i missing something?
>
> rian
>
> --
> 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 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

No comments: