Vimbits icon indicating copy to clipboard operation
Vimbits copied to clipboard

syntax highlighting seems flawed when there are comments

Open darcyparker opened this issue 12 years ago • 1 comments

When a vimbit has a comment, it seems the syntax highlighting gets messed up.

One example: http://vimbits.com/bits/231 Another example: http://vimbits.com/bits/128

darcyparker avatar Feb 28 '12 22:02 darcyparker

I'm using http://code.google.com/p/google-code-prettify/ which, by default, tries to guess the syntax. It's not very good at vimrc, since " is a comment in vimrc, but the opening to a string in every other language. I'm pretty sure that's what's messing it up, not the presence of comments.

Definitely need to fix this, of course- probably by writing a .vimrc syntax file for Prettify.

kkuchta avatar Feb 28 '12 23:02 kkuchta