Skip to content

Commit

Permalink
Leave tope highlighting to language server
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed Apr 2, 2024
1 parent 1486c24 commit 508d9d3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 27 deletions.
19 changes: 1 addition & 18 deletions syntaxes/rzk.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,24 +151,7 @@
]
},
"ext-type-topes": {
"patterns": [
{
"match": "([^|]*)(\\|->|↦)",
"captures": {
"1": {
"name": "string.interpolated.rzk",
"patterns": [
{
"include": "#builtins"
}
]
},
"2": {
"name": "keyword.operator.mapsto.rzk"
}
}
}
]
"patterns": []
},
"ext-types": {
"patterns": [
Expand Down
18 changes: 9 additions & 9 deletions syntaxes/rzk.tmLanguage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ repository:
patterns:
- include: "#builtins"
ext-type-topes:
patterns:
- match: ([^|]*)(\|->|↦)
captures:
"1":
name: string.interpolated.rzk
patterns:
- include: "#builtins"
"2":
name: keyword.operator.mapsto.rzk
patterns: []
# - match: ([^|]*)(\|->|↦)
# captures:
# "1":
# name: string.interpolated.rzk
# patterns:
# - include: "#builtins"
# "2":
# name: keyword.operator.mapsto.rzk
ext-types:
patterns:
- begin: \[
Expand Down

0 comments on commit 508d9d3

Please sign in to comment.