Skip to content

Commit

Permalink
1.2 Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed Jun 29, 2024
1 parent e2c1d2a commit 61d781d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/yaml-1.2.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@
},
"comment": {
"comment": "Comments must be separated from other tokens by white space characters. `space`, `tab`, `newline` or `carriage-return`. `#(.*)` causes performance issues",
"begin": "(?<=[\\x{FEFF}\t ]^)#",
"begin": "(?<=[\\x{FEFF}\t ]|^)#",
"end": "\r|\n",
"captures": { "0": { "name": "punctuation.definition.comment.yaml" } },
"name": "comment.line.number-sign.yaml",
Expand Down

0 comments on commit 61d781d

Please sign in to comment.