Skip to content

Commit

Permalink
Syntaxhighlight: else/elseif support inline comments now
Browse files Browse the repository at this point in the history
  • Loading branch information
kirides committed Sep 7, 2020
1 parent d4534c1 commit 5844926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntaxes/daedalus.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
]
},
"else-if": {
"begin": "(?i)\\b(else\\s+if)\\s*\\(",
"begin": "(?i)\\b(else\\s+if)\\b",
"end": "(?=(};|}))",
"beginCaptures": {
"0": { "name": "entity.statement.else-if" },
Expand All @@ -113,7 +113,7 @@
]
},
"else": {
"begin": "(?i)\\b(else)\\s*{",
"begin": "(?i)\\b(else)\\b",
"end": "(?=(};|}))",
"beginCaptures": {
"0": { "name": "entity.statement.else" },
Expand Down

0 comments on commit 5844926

Please # to comment.