Skip to content

Commit

Permalink
22492: Corrected syntax highlighting of comments (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulpm authored Jan 8, 2025
1 parent d5cf6b8 commit b31da76
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "amalgam-lang",
"version": "2.2.0",
"version": "2.2.1",
"type": "commonjs",
"publisher": "howso",
"displayName": "Amalgam Language",
Expand Down
4 changes: 2 additions & 2 deletions syntaxes/amalgam.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"keyEquivalent": "^~L",
"patterns": [
{
"name": "punctuation.definition.comment.amalgam",
"name": "comment.line.semicolon.amalgam",
"begin": ";",
"end": "$",
"patterns": [
{
"match": "\\b(TODO|FIXME|NOTE)\\b",
"name": "markup.quote.note.amalgam"
"name": "keyword.codetag.notation.amalgam"
}
]
},
Expand Down
11 changes: 11 additions & 0 deletions themes/amalgamLight.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,23 @@
{
"name": "@mono-3",
"scope": [
"comment.line.semicolon",
"comment.markup.link",
"punctuation.definition.comment"
],
"settings": {
"foreground": "#5C636F"
}
},
{
"name": "@mono-4",
"scope": [
"keyword.codetag.notation"
],
"settings": {
"foreground": "#0000FF",
"fontStyle": "italic"
}
}
]
}

0 comments on commit b31da76

Please sign in to comment.