dynium / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Javascript syntax highlight regex error #113

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a JS file
2. Type "abc".match(/[/]/)
3. Turn on syntax highlighting

What is the expected output? What do you see instead?

The entire block /[/]/ should be highlighted as a regular expression

What happens is that the second slash ends the regular expression highlighting

What version of the product are you using? On what operating system?

MacVim snapshot 61, VIM 7.3 (using latest syntax file)

Please provide any additional information below.

Original issue reported on code.google.com by nirk.nig...@gmail.com on 21 Feb 2013 at 3:48

GoogleCodeExporter commented 9 years ago
The correct way is to report the problem to the maintainer of the syntax file. 
I have written him a mail to take a look at this report, so hopefully, he'll be 
able to fix this problem.

Original comment by chrisbr...@googlemail.com on 9 Oct 2014 at 8:55