emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.04k stars 140 forks source link

lsp-ui-peek-find-references throws errors #706

Closed lassemaatta closed 2 years ago

lassemaatta commented 2 years ago

I updated lsp-ui this morning, and now when running lsp-ui-peek-find-references on a symbol in some clojure code, I get

lsp-ui-peek--render: Invalid function: lsp-ui--mute-apply

and sometimes

lsp-ui--workspace-path: Wrong type argument: arrayp, nil
lsp-ui-peek--render: Invalid function: lsp-ui--mute-apply

Using: lsp-ui 20220509.1305 & lsp-mode 20220505.630

I would guess this is somehow related to this commit.

jcs090218 commented 2 years ago

Hi, can you try reinstall lsp-ui? The macro is defined in lsp-ui.el file.

lassemaatta commented 2 years ago

I tried to (unload-feature lsp-ui) + (package-reinstall lsp-ui) + restarted emacs: still got the same error.

jcs090218 commented 2 years ago

Okay, I think lsp-ui is requiring modules the other way around. Should be fixed in #707.

jcs090218 commented 2 years ago

I have first revert the changes! Sorry for the inconvenience!