Skip to content

Instantly share code, notes, and snippets.

@katspaugh
Created October 11, 2011 09:13
Show Gist options
  • Save katspaugh/1277642 to your computer and use it in GitHub Desktop.
Save katspaugh/1277642 to your computer and use it in GitHub Desktop.
Highlight trailing JavaScript commas as errors
syn match javaScrParenError /,\(\_s*[\]})]\)\@=/
@katspaugh
Copy link
Author

Thanks to @efedin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment