Skip to content

Commit

Permalink
Add #interpolation to root patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
Euclydes Netto committed Dec 13, 2024
1 parent fe7f730 commit 0596ae6
Showing 1 changed file with 3 additions and 27 deletions.
30 changes: 3 additions & 27 deletions syntaxes/heex.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
{
"include": "#elixir-embedded"
},
{
"include": "#elixir-curly-embedded"
},
{
"include": "#slotable"
},
Expand All @@ -38,6 +35,9 @@
},
{
"include": "#tag"
},
{
"include": "#interpolation"
}
],
"repository": {
Expand Down Expand Up @@ -146,30 +146,6 @@
}
]
},
"elixir-curly-embedded": {
"begin": "\\{",
"captures": {
"0": {
"name": "punctuation.section.embedded.elixir"
}
},
"end": "\\}",
"name": "source.elixir.embedded",
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.definition.comment.elixir"
}
},
"match": "(#).*?(?=\\})",
"name": "comment.line.number-sign.elixir"
},
{
"include": "source.elixir"
}
]
},
"interpolation": {
"patterns": [
{
Expand Down

0 comments on commit 0596ae6

Please sign in to comment.