Skip to content

Commit

Permalink
Highlight admit/assume.
Browse files Browse the repository at this point in the history
Fixes #48.
  • Loading branch information
gebner committed Oct 15, 2024
1 parent 3416c17 commit 40b9b11
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions syntaxes/fstar.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@
}
]
},
"escapehatch": {
"patterns": [
{
"name": "invalid.illegal.fstar",
"match": "\\b(admit|assume|magic|unsafe_coerce|assume_)\\b"
}
]
},
"commentblock": {
"patterns": [
{
Expand Down Expand Up @@ -106,6 +114,9 @@
{
"include": "#characters"
},
{
"include": "#escapehatch"
},
{
"include": "#dsl"
},
Expand Down

0 comments on commit 40b9b11

Please sign in to comment.