Skip to content

Commit 8b87c0c

Browse files
committed
fix comments syntax highlighting in token strings
1 parent 140963c commit 8b87c0c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

syntaxes/d.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2658,6 +2658,9 @@
26582658
}
26592659
]
26602660
},
2661+
{
2662+
"include": "#comment"
2663+
},
26612664
{
26622665
"include": "#tokens"
26632666
}

syntaxes/d.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,7 @@ repository:
12571257
end: '}'
12581258
patterns:
12591259
- include: '#token-string-content'
1260+
- include: '#comment'
12601261
- include: '#tokens'
12611262
tokens:
12621263
patterns:

0 commit comments

Comments
 (0)