Skip to content

Commit

Permalink
Add support for elixir 1.17 custom sigils with numbers in grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Jun 6, 2024
1 parent 12a67e5 commit 088de57
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions syntaxes/elixir.json
Original file line number Diff line number Diff line change
Expand Up @@ -2073,7 +2073,7 @@
]
},
{
"begin": "~[A-Z]+(?>\"\"\")",
"begin": "~[A-Z][A-Z0-9]*(?>\"\"\")",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.elixir"
Expand All @@ -2089,7 +2089,7 @@
"name": "string.quoted.other.literal.elixir"
},
{
"begin": "~[A-Z]+(?>''')",
"begin": "~[A-Z][A-Z0-9]*(?>''')",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.elixir"
Expand All @@ -2105,7 +2105,7 @@
"name": "string.quoted.other.literal.elixir"
},
{
"begin": "~[A-Z]+\\{",
"begin": "~[A-Z][A-Z0-9]*\\{",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.elixir"
Expand All @@ -2121,7 +2121,7 @@
"name": "string.quoted.double.literal.elixir"
},
{
"begin": "~[A-Z]+\\[",
"begin": "~[A-Z][A-Z0-9]*\\[",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.elixir"
Expand All @@ -2142,7 +2142,7 @@
]
},
{
"begin": "~[A-Z]+\\<",
"begin": "~[A-Z][A-Z0-9]*\\<",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.elixir"
Expand All @@ -2163,7 +2163,7 @@
]
},
{
"begin": "~[A-Z]+\\(",
"begin": "~[A-Z][A-Z0-9]*\\(",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.elixir"
Expand All @@ -2184,7 +2184,7 @@
]
},
{
"begin": "~[A-Z]+\\/",
"begin": "~[A-Z][A-Z0-9]*\\/",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.elixir"
Expand All @@ -2200,7 +2200,7 @@
"name": "string.quoted.double.literal.elixir"
},
{
"begin": "~[A-Z]+\\'",
"begin": "~[A-Z][A-Z0-9]*\\'",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.elixir"
Expand All @@ -2216,7 +2216,7 @@
"name": "string.quoted.double.literal.elixir"
},
{
"begin": "~[A-Z]+\\\"",
"begin": "~[A-Z][A-Z0-9]*\\\"",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.elixir"
Expand All @@ -2232,7 +2232,7 @@
"name": "string.quoted.double.literal.elixir"
},
{
"begin": "~[A-Z]+\\|",
"begin": "~[A-Z][A-Z0-9]*\\|",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.elixir"
Expand Down

0 comments on commit 088de57

Please sign in to comment.