Skip to content

Commit 2d0fbbb

Browse files
authored
fix: disable inline comments highlighting in .editorconfig files (#473)
1 parent e32b46f commit 2d0fbbb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

syntaxes/editorconfig.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"patterns": [
3131
{
3232
"name": "comment.line.number-sign.editorconfig",
33-
"begin": "(\\s*)(#)",
33+
"begin": "^(\\s*)(#)",
3434
"end": "$",
3535
"beginCaptures": {
3636
"1": {
@@ -43,7 +43,7 @@
4343
},
4444
{
4545
"name": "comment.line.semicolon.editorconfig",
46-
"begin": "(\\s*)(;)",
46+
"begin": "^(\\s*)(;)",
4747
"end": "$",
4848
"beginCaptures": {
4949
"1": {

0 commit comments

Comments
 (0)