From 4418e338e8ea055663c6029080768572d159dba1 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Thu, 29 May 2025 11:43:38 -0400 Subject: [PATCH] Use syntax symbol pickers for Erlang Neither language server robustly supports workspace symbol search. `erlang-ls`'s symbol picker takes a long time to open successfully on boot. `elp`'s is faster but not faster than the tags query. --- languages.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index f9a9c67e3..96eae3d11 100644 --- a/languages.toml +++ b/languages.toml @@ -2047,7 +2047,10 @@ roots = ["rebar.config"] shebangs = ["escript"] comment-token = "%%" indent = { tab-width = 4, unit = " " } -language-servers = [ "erlang-ls", "elp" ] +language-servers = [ + { name = "erlang-ls", except-features = ["document-symbols", "workspace-symbols"] }, + { name = "elp", except-features = ["document-symbols", "workspace-symbols"] } +] [[grammar]] name = "erlang"