Reputation: 4879
In VIM, when editing .java
files, I'm seeing the syntax highlighter being thrown off by the <
and >
characters inside of comment blocks.
It seems to expect me to close the <
characters with a >
.
Here's an example:
/**
* `<` <-- this character causes a syntax error
*/
Using VIM with Syntastic.
Any idea what's going on?
Upvotes: 0
Views: 496
Reputation: 31429
Javadoc comments use html for formatting. <
is the start of a tag and it never ends so it is invalid html. You need to use <
instead.
Upvotes: 4