-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lsp-ivy-workspace-symbol error: "Error processing message (wrong-number-of-arguments (1 . 1) 3)." #27
Comments
I can't reproduce with latest master, neither with |
I have: I am not using |
For reference lsp-start-plain.el. |
I can reproduce. This is due to an upstream change in |
You could downgrade ivy to before 71c59aecf669142ebe264fac8ff7b440c0c71712. |
Alright, I'll see if I can find out how to downgrade packages whilst waiting if |
Alternatively, you can use this as a workaround: (defun ivy-update-candidates-dynamic-collection-workaround-a (old-fun &rest args)
(cl-letf (((symbol-function #'completion-metadata) #'ignore))
(apply old-fun args)))
(advice-add #'ivy-update-candidates :around #'ivy-update-candidates-dynamic-collection-workaround-a) |
Thanks, that's a way better workaround than me altering |
This is fixed upstream, so this issue can be closed. @ville-h you can remove the workaround if you update ivy. |
starting lsp-start-plain, and then package-install lsp-ivy:
lsp-ivy-workspace-symbol:
|
I am still seeing this issue. Is it still an issue for other people? Any news on it? |
I have the same issue too. |
Entirely possible this is not lsp-mode's fault, but as I've no real understanding which of the packages is responsible for the recent break in functionality I'll start here. Feel free to point me towards the correct package.
Describe the bug
Invoking
lsp-ivy-workspace-symbol
resuls in:Error processing message (wrong-number-of-arguments (1 . 1) 3).
and debug output.To Reproduce
lsp-start-plain.el
line 44 to contain:(pkg-list '(ivy yasnippet lsp-mode lsp-ivy company)))
(setq lsp-print-io t)
intolsp-start-plain.el
emacs -q -l lsp-start-plain.el
main.c
with:int main() { return 0; }
M-x
and thenlsp-ivy-workspace-symbol
Expected behavior
Emacs should not display an error message or debug output when the prompt in the mininbuffer comes up.
Which Language Server did you use
lsp-clangd
OS
linux
Error callstack
Backtrace:
lsp-log:
The text was updated successfully, but these errors were encountered: