Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

fix: grammar color related to ! #183

Merged
merged 6 commits into from
Apr 11, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions grammars/grammar-tact.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
]
},
"operator-logic": {
"match": "(==|<(?!<)|<=|>(?!>)|>=|\\&\\&|\\|\\||\\:(?!=)|\\?)",
"match": "(==|<(?!<)|<=|>(?!>)|>=|\\&\\&|\\|\\||\\:(?!=)|\\?|^\\!(=|!)?)$",
"name": "keyword.operator.logic"
},
"operator-mapping": {
Expand All @@ -191,7 +191,7 @@
"name": "keyword.operator.binary"
},
"operator-assignment": {
"match": "(\\:?=)",
"match": "(\\:?=[^\\!])",
"name": "keyword.operator.assignment"
},
"control": {
Expand Down