From 7db85b0d2ebf890d8faa69d53442cbfdc1a90d3f Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Mon, 20 May 2024 10:18:12 +0200 Subject: [PATCH] golang: autoclose backticks (#12050) Fixes #12025 Release Notes: - Fixed backtick characters not getting autoclosed in Golang files (#12025). --- crates/languages/src/go/config.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/languages/src/go/config.toml b/crates/languages/src/go/config.toml index 2e3512dfbb..d1230c549a 100644 --- a/crates/languages/src/go/config.toml +++ b/crates/languages/src/go/config.toml @@ -9,6 +9,7 @@ brackets = [ { start = "(", end = ")", close = true, newline = true }, { start = "\"", end = "\"", close = true, newline = false, not_in = ["comment", "string"] }, { start = "'", end = "'", close = true, newline = false, not_in = ["comment", "string"] }, + { start = "`", end = "`", close = true, newline = false, not_in = ["comment", "string"] }, { start = "/*", end = " */", close = true, newline = false, not_in = ["comment", "string"] }, ] tab_size = 4