Thursday, March 25, 2010

Re: Why is "template" highlighted in Java code

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 of java_allow_cpp_keywords:
>
> http://code.google.com/p/vim/source/diff?spec=svn24100651daa9d7140d33f298c987c9d42bd919bf&r=82b5078be2dd55b123d00964459edc27f2250d0d&format=side&path=/runtime/syntax/java.vim&old_path=/runtime/syntax/java.vim&old=8cd72985156286e77ac5d271a13cfb569b29ed76
>
> If I may make a couple of suggestions:
>
> 1) Update the source links. The http://www.vim.org/sources.php and
> http://www.vim.org/subversion.php pages point to a subversion
> repository at Sourceforge that does not appear to be in use.

The SF SVN repo was updated 36 hours ago. I think SVN's always been a
second-class citizen though. (It's only a clone of the CVS, right?)


> 2) Don't highlight C++ keywords in Java by default. However, Bram
> Moolenaar may have had a good reason for reverting to the old
> behavior.

AFAIK, the hg repo is kind of at the 'public beta' stage (It was
announced on vim_dev a while back). The fact that
runtime/syntax/java.vim differs between the two, though, looks to me to
be some kind of synchronization error. (Not sure in which direction.)

If the hg repo is indeed the current preferred VCS, though, then yeah,
it should probably be updated.

--
Best,
Ben

--
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

To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: