Open dorny opened 12 years ago
Hi,
when attribute name contains "-", only second part is highlighted. For example: in "data-bind" only "bind" si matched and highlighted
problem is here: "patterns": [ { "name": "attributes.tag.jade", "begin": "([a-z]\w+)(=)",
should be: "patterns": [ { "name": "attributes.tag.jade", "begin": "([a-z][A-Za-z0-9_-]+)(=)",
don't forget the "?" at the end :)
"begin": "([a-z][A-Za-z0-9_-]+)(=)?",
Hi,
when attribute name contains "-", only second part is highlighted. For example: in "data-bind" only "bind" si matched and highlighted
problem is here: "patterns": [ { "name": "attributes.tag.jade", "begin": "([a-z]\w+)(=)",
should be: "patterns": [ { "name": "attributes.tag.jade", "begin": "([a-z][A-Za-z0-9_-]+)(=)",