Skip to content

Commit

Permalink
improves emit colouring fixes nim-lang#53 (nim-lang#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgomez authored Mar 26, 2024
1 parent 4cb5cb8 commit 5a3872a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions syntaxes/nim.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,26 @@
}
]
},
{
"begin": "\\{\\.emit:\\s*\\[",
"beginCaptures": {
"0": {
"name": "punctuation.section.embedded.begin.nim"
}
},
"end": "\\]\\.",
"endCaptures": {
"0": {
"name": "punctuation.section.embedded.end.nim"
}
},
"name": "meta.embedded.block.nim",
"patterns": [
{
"include": "source.nim"
}
]
},
{
"begin": "\\{\\.",
"beginCaptures": {
Expand Down

0 comments on commit 5a3872a

Please sign in to comment.