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.
pull/12275/head
Michael Davis 2025-05-29 11:43:38 -04:00
parent 6c71fc00b2
commit 4418e338e8
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -2047,7 +2047,10 @@ roots = ["rebar.config"]
shebangs = ["escript"] shebangs = ["escript"]
comment-token = "%%" comment-token = "%%"
indent = { tab-width = 4, unit = " " } 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]] [[grammar]]
name = "erlang" name = "erlang"