From 7b371664bdeef9c07ff55293a6a63b2dd5ba2c87 Mon Sep 17 00:00:00 2001 From: Nick Krichevsky Date: Sun, 21 Jul 2024 20:06:59 -0400 Subject: [PATCH] Exclude constant symbols from bracket matching Fixes issues with things like :end atoms and do: keyword lists --- eex-language-configuration.json | 2 +- package.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/eex-language-configuration.json b/eex-language-configuration.json index 6326d68..06b9d6b 100644 --- a/eex-language-configuration.json +++ b/eex-language-configuration.json @@ -9,7 +9,7 @@ ["<", ">"], ["{", "}"], ["(", ")"], - ["[", "]"] + ["[", "]"], ], "colorizedBracketPairs": [ ["{", "}"], diff --git a/package.json b/package.json index a12fb9e..a973e1c 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,10 @@ { "language": "elixir", "scopeName": "source.elixir", - "path": "./syntaxes/elixir.json" + "path": "./syntaxes/elixir.json", + "unbalancedBracketScopes": [ + "constant.language.symbol.elixir" + ] }, { "language": "eex",