Re: Why is "template" highlighted in Java code

2010-03-25 Thread Benjamin R. Haskell
On Thu, 25 Mar 2010, Joshua Swink wrote: > Ok, I was thrown off a bit by looking at the subversion repository on > sourceforge. It is linked from http://www.vim.org/sources.php, but it > is out of date. The source at Google code is more current. It shows > that someone has reverted the handling

Re: Why is "template" highlighted in Java code

2010-03-25 Thread Joshua Swink
Ok, I was thrown off a bit by looking at the subversion repository on sourceforge. It is linked from http://www.vim.org/sources.php, but it is out of date. The source at Google code is more current. It shows that someone has reverted the handling of java_allow_cpp_keywords: http://code.google.com/

Re: Why is "template" highlighted in Java code

2010-03-25 Thread Joshua Swink
I'm trying to track this one down. The Debian sources used for vim don't quite jive with the sources from vim.org. The 7.2 sources from vim.org do not highlight the keywords by default. The change appears to have been made on 25 June 2008, well before the 9 August 2009 release of vim 7.2. http://

Re: Why is "template" highlighted in Java code

2010-03-25 Thread Benjamin R. Haskell
On Thu, 25 Mar 2010, sc wrote: > On Thursday 25 March 2010 11:34:50 Benjamin R. Haskell wrote: > > > From :help ft-java-syntax : > > > > In order to help you write code that can be easily > > ported between Java and C++, all C++ keywords can be marked > > as an error in a Java program

Re: Why is "template" highlighted in Java code

2010-03-25 Thread sc
On Thursday 25 March 2010 11:34:50 Benjamin R. Haskell wrote: > From :help ft-java-syntax : > > In order to help you write code that can be easily > ported between Java and C++, all C++ keywords can be marked > as an error in a Java program. To have this add this line in > your .vimr

Re: Why is "template" highlighted in Java code

2010-03-25 Thread Benjamin R. Haskell
On Thu, 25 Mar 2010, Joshua Swink wrote: > On Wed, Mar 24, 2010 at 9:52 PM, Edward L. Fox wrote: > > On Thu, Mar 25, 2010 at 04:48, Joshua Swink wrote: > >> I'm wondering why the word "template" is highlighted in vim in my > >> Java code. Apparently "template" is not a keyword in the Java > >>

Re: Why is "template" highlighted in Java code

2010-03-25 Thread Joshua Swink
On Wed, Mar 24, 2010 at 9:52 PM, Edward L. Fox wrote: > On Thu, Mar 25, 2010 at 04:48, Joshua Swink wrote: >> I'm wondering why the word "template" is highlighted in vim in my Java >> code. Apparently "template" is not a keyword in the Java language. Vim >> is highlighting the word with a bright

Re: Why is "template" highlighted in Java code

2010-03-24 Thread Edward L. Fox
On Thu, Mar 25, 2010 at 04:48, Joshua Swink wrote: > I'm wondering why the word "template" is highlighted in vim in my Java > code. Apparently "template" is not a keyword in the Java language. Vim > is highlighting the word with a bright red background, the same as if > I'd entered a syntax error.

Why is "template" highlighted in Java code

2010-03-24 Thread Joshua Swink
I'm wondering why the word "template" is highlighted in vim in my Java code. Apparently "template" is not a keyword in the Java language. Vim is highlighting the word with a bright red background, the same as if I'd entered a syntax error. I'm using vim 7.2 as provided by Ubuntu 9.10's vim-gnome p