Skip to content

Commit

Permalink
do not classify charlists as function variables
Browse files Browse the repository at this point in the history
this was breaking VSCode bracket matching of do/end etc
by default VSCode treats strings and documentation as unbalanced scopes
  • Loading branch information
lukaszsamson committed Jan 18, 2024
1 parent 877a703 commit 600491d
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions syntaxes/elixir.json
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir",
"name": "string.quoted.single.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand All @@ -777,7 +777,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir",
"name": "string.quoted.single.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand All @@ -801,7 +801,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir",
"name": "string.quoted.single.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand All @@ -825,7 +825,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir",
"name": "string.quoted.single.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand All @@ -849,7 +849,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir",
"name": "string.quoted.single.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand All @@ -873,7 +873,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir",
"name": "string.quoted.single.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand All @@ -897,7 +897,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir",
"name": "string.quoted.single.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand All @@ -921,7 +921,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir",
"name": "string.quoted.single.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand All @@ -945,7 +945,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir",
"name": "string.quoted.single.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand All @@ -969,7 +969,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir",
"name": "string.quoted.single.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand All @@ -993,7 +993,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir"
"name": "string.quoted.single.elixir"
},
{
"comment": "Literal Character list sigil with pipes",
Expand All @@ -1009,7 +1009,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir"
"name": "string.quoted.single.elixir"
},
{
"comment": "Literal Character list sigil with parens",
Expand All @@ -1025,7 +1025,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir"
"name": "string.quoted.single.elixir"
},
{
"comment": "Literal Character list sigil with curlies",
Expand All @@ -1041,7 +1041,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir"
"name": "string.quoted.single.elixir"
},
{
"comment": "Literal Character list sigil with curlies",
Expand All @@ -1057,7 +1057,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir"
"name": "string.quoted.single.elixir"
},
{
"comment": "Literal Character list sigil with curlies",
Expand All @@ -1073,7 +1073,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir"
"name": "string.quoted.single.elixir"
},
{
"comment": "Literal Character list sigil with single quoted heredoc",
Expand All @@ -1089,7 +1089,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir"
"name": "string.quoted.single.elixir"
},
{
"comment": "Literal Character list sigil with double quoted heredoc",
Expand All @@ -1105,7 +1105,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir"
"name": "string.quoted.single.elixir"
},
{
"comment": "Literal Character list sigil with curlies",
Expand All @@ -1121,7 +1121,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir"
"name": "string.quoted.single.elixir"
},
{
"comment": "Literal Character list sigil with curlies",
Expand All @@ -1137,7 +1137,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir"
"name": "string.quoted.single.elixir"
},
{
"begin": "~w\\{",
Expand Down Expand Up @@ -2282,7 +2282,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.heredoc.elixir",
"name": "string.quoted.single.heredoc.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand All @@ -2306,7 +2306,7 @@
"name": "punctuation.definition.string.end.elixir"
}
},
"name": "support.function.variable.quoted.single.elixir",
"name": "string.quoted.single.elixir",
"patterns": [
{
"include": "#interpolated_elixir"
Expand Down

0 comments on commit 600491d

Please sign in to comment.