From 77e396255d877816df74d13dbebc40e306319041 Mon Sep 17 00:00:00 2001 From: Kevin Wood Date: Mon, 20 Apr 2015 11:55:44 -0700 Subject: [PATCH] Properly highlight HTML attribute names --- syntax/CJSX.tmLanguage | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/syntax/CJSX.tmLanguage b/syntax/CJSX.tmLanguage index 059eb34..aa33169 100644 --- a/syntax/CJSX.tmLanguage +++ b/syntax/CJSX.tmLanguage @@ -912,6 +912,21 @@ + jsx-tag-attribute-name + + captures + + 1 + + name + entity.other.attribute-name.html + + + match + \b([a-zA-Z\-:]+) + name + meta.tag.attribute-name.html + jsx-tag-attributes patterns