From 92f0e4fd744cacae9ccb46dd95e020b5ecd3fc4b Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 22 Aug 2022 14:57:44 +0200 Subject: [PATCH] Don't auto-complete `do...end` Implementing this properly is a bit finicky, and it's unclear this is even expected, e.g. VS Code and Atom don't auto-complete do/end for Ruby, although VS Code does auto-complete do/end for Elixir. We can add it if it's something the Elixir folks want us to implement. --- crates/zed/src/languages/elixir/config.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/zed/src/languages/elixir/config.toml b/crates/zed/src/languages/elixir/config.toml index def2e4d2383049f93491c5b99fa3bf0af010b41b..4e1af93943d2e63763181b83590a4ff72f809c23 100644 --- a/crates/zed/src/languages/elixir/config.toml +++ b/crates/zed/src/languages/elixir/config.toml @@ -6,6 +6,5 @@ brackets = [ { start = "{", end = "}", close = true, newline = true }, { start = "[", end = "]", close = true, newline = true }, { start = "(", end = ")", close = true, newline = true }, - { start = "\"", end = "\"", close = true, newline = false }, - { start = "do", end = " end", close = true, newline = true }, + { start = "\"", end = "\"", close = true, newline = false } ]