Skip to content

Commit

Permalink
fix: attributes colorring
Browse files Browse the repository at this point in the history
fix #18
  • Loading branch information
farnabaz committed Nov 10, 2021
1 parent 7cdb8eb commit 75eb0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/mdc.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"attribute": {
"patterns": [
{
"match": "(?x)\n (\n ([^=><\\s]*) # attribute name\n ( # attribute value\n =[\"]([^\"]*)([\"])|[']([^']*)(['])\n | =[^\\s'\"]*\n )?\n \\s*\n )",
"match": "(?x)\n (\n ([^=><\\s]*) # attribute name\n ( # attribute value\n =[\"]([^\"]*)([\"])|[']([^']*)(['])\n | =[^\\s'\"}]*\n )?\n \\s*\n )",
"captures": {
"2": {
"name": "entity.other.attribute-name.html"
Expand Down

0 comments on commit 75eb0f5

Please sign in to comment.