Skip to content

Commit

Permalink
Exclude constant symbols from bracket matching
Browse files Browse the repository at this point in the history
Fixes issues with things like :end atoms and do: keyword lists
  • Loading branch information
ollien committed Jul 22, 2024
1 parent b6a1512 commit 7b37166
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eex-language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
["<", ">"],
["{", "}"],
["(", ")"],
["[", "]"]
["[", "]"],
],
"colorizedBracketPairs": [
["{", "}"],
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@
{
"language": "elixir",
"scopeName": "source.elixir",
"path": "./syntaxes/elixir.json"
"path": "./syntaxes/elixir.json",
"unbalancedBracketScopes": [
"constant.language.symbol.elixir"
]
},
{
"language": "eex",
Expand Down

0 comments on commit 7b37166

Please sign in to comment.