In a .js file in vim, a matched parenthesis pair confuses all syntax highlighting after. There seems to be a duplicate "syn match javaScriptParen" line in the syntax file (/usr/share/vim/vim64/syntax/javascript.vim). Removing this duplicate solved the problem for me. Steps to Reproduce: 1) vi foo.js 2) type a keyword (i.e. "var") 3) on the line above, enter matching pair of parentheses
Created attachment 78442 [details] Corrected javascript.vim
*** This bug has been marked as a duplicate of 103652 ***