Skip to content

Commit 4418e33

Browse files
committed
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.
1 parent 6c71fc0 commit 4418e33

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

languages.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2047,7 +2047,10 @@ roots = ["rebar.config"]
20472047
shebangs = ["escript"]
20482048
comment-token = "%%"
20492049
indent = { tab-width = 4, unit = " " }
2050-
language-servers = [ "erlang-ls", "elp" ]
2050+
language-servers = [
2051+
{ name = "erlang-ls", except-features = ["document-symbols", "workspace-symbols"] },
2052+
{ name = "elp", except-features = ["document-symbols", "workspace-symbols"] }
2053+
]
20512054

20522055
[[grammar]]
20532056
name = "erlang"

0 commit comments

Comments
 (0)