Skip to content

Commit

Permalink
Fixed block comment highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
harshdoesdev committed Jul 25, 2023
1 parent c2f2c74 commit 29208b3
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/syntaxes/ftd.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "FifthTry Document",
"patterns": [
{
"name": "comment.block.ftd.begin",
"begin": "\/--\\s.*?:",
"end": "(--$|^$)",
"captures": {
"0": { "name": "punctuation.definition.comment.begin.ftd" }
},
"patterns": [
{
"name": "comment.block.ftd.line",
"begin": "\/--",
"end": "$",
"captures": {
"0": { "name": "comment.block.ftd.line" }
}
}
]
},
{
"name": "entity.name.function",
"match": "(--\\s*)(\\w+.*):",
Expand Down Expand Up @@ -80,24 +98,6 @@
"captures": {
"0": { "name": "variable.other.dollar-sign.ftd" }
}
},
{
"name": "comment.block.ftd.begin",
"begin": "\\\\--\\s.*?:",
"end": "(--$|^$)",
"captures": {
"0": { "name": "punctuation.definition.comment.begin.ftd" }
},
"patterns": [
{
"name": "comment.block.ftd.line",
"begin": "\\\\--",
"end": "$",
"captures": {
"0": { "name": "comment.block.ftd.line" }
}
}
]
}
],
"repository": {
Expand Down

0 comments on commit 29208b3

Please sign in to comment.