-
-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
Using nightly neovim, latest elixir-tools.nvim; next-ls at 0.22.4:
[Warning] [Next LS] Failed to run completion request: ** (MatchError) no match of right hand side value: {:ok, {:badrpc, {:EXIT, {%Protocol.UndefinedError{protocol: Enumerable, value: Phoenix.LiveComponent, description: ""}, [{Enumerable, :impl_for!, 1, [file: ~c"lib/enum.ex", line: 1]}, {Enumerable, :reduce, 3, [file: ~c"lib/enum.ex", line: 166]}, {Enum, :reduce, 3, [file: ~c"lib/enum.ex", line: 4423]}, {:_next_ls_private_spitfire_env, :expand_macro, 7, [file: ~c"/Users/me/Library/Application Support/.burrito/next_ls_erts-14.2.2_0.22.4/lib/next_ls-0.22.4/priv/monkey/_next_ls_private_compiler.ex", line: 1443]}, {:_next_ls_private_spitfire_env, :expand_list, 4, [file: ~c"/Users/me/Library/Application Support/.burrito/next_ls_erts-14.2.2_0.22.4/lib/next_ls-0.22.4/priv/monkey/_next_ls_private_compiler.ex", line: 1596]}, {:_next_ls_private_spitfire_env, :expand_macro, 7, [file: ~c"/Users/me/Library/Application Support/.burrito/next_ls_erts-14.2.2_0.22.4/lib/next_ls-0.22.4/priv/monkey/_next_ls_private_compiler.ex", line: 1413]}, {:_next_ls_private_spitfire_env, :expand, 2, [file: ~c"/Users/me/Library/Application Support/.burrito/next_ls_erts-14.2.2_0.22.4/lib/next_ls-0.22.4/priv/monkey/_next_ls_private_compiler.ex", line: 1099]}]}}}}
(next_ls 0.22.4) lib/next_ls.ex:642: anonymous fn/5 in NextLS.handle_request/2
(next_ls 0.22.4) lib/next_ls.ex:1356: anonymous fn/4 in NextLS.dispatch_to_workspace/3
(elixir 1.16.2) lib/enum.ex:2528: Enum."-reduce/3-lists^foldl/2-0-"/3
(next_ls 0.22.4) lib/next_ls.ex:1355: anonymous fn/5 in NextLS.dispatch_to_workspace/3
(elixir 1.16.2) lib/registry.ex:488: Registry.dispatch/4
(next_ls 0.22.4) lib/next_ls.ex:1353: NextLS.dispatch_to_workspace/3
(next_ls 0.22.4) lib/next_ls.ex:641: NextLS.handle_request/2
(gen_lsp 0.8.1) lib/gen_lsp.ex:277: anonymous fn/2 in GenLSP.loop/3
For some more context, if I open a regular elixir module; completions work. For LiveComponents, for some reason, they do not. ElixirLS and lexical both provide completions (not sure that's of value).
Metadata
Metadata
Assignees
Labels
No labels