Closed tejasvi closed 3 years ago
It seems that your javascript syntax plugin doesn't recognize the /regex/
syntax, or doesn't handle it correctly, so that the "
is not wrapped by /
and be recognized as beginning of string literal
That explains it then. I am using Vim's inbuilt JS syntax implementation. %
is not working correctly as well. Anyway, thanks for pointer!
Describe the bug
Incorrect color coding.
To Reproduce
File:
bug.js
, filetype=javascriptSteps:
vim bug.js
(
and)
Expected behavior
The color should be same.
Screenshots