Skip to content

Commit

Permalink
Merge pull request #71 from rzk-lang/fix-nested-ext-types-highlighting
Browse files Browse the repository at this point in the history
Leave tope highlighting to language server
  • Loading branch information
fizruk authored Apr 2, 2024
2 parents 54a8766 + 5a549d5 commit ec26ac5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 26 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
17 changes: 9 additions & 8 deletions syntaxes/rzk.tmLanguage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,15 @@ repository:
- include: "#builtins"
ext-type-topes:
patterns:
- match: ([^|]*)(\|->|↦)
captures:
"1":
name: string.interpolated.rzk
patterns:
- include: "#builtins"
"2":
name: keyword.operator.mapsto.rzk
[]
# - 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 ec26ac5

Please sign in to comment.