-
Notifications
You must be signed in to change notification settings - Fork 48
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
Getting (invalid-function (icon (plist-get item :icon)))
when calling (lsp-treemacs-call-hierarchy)
#140
Comments
Hi everyone, I have the same problem, any news on this? |
I'ts weird, on (or (plist-get item :icon-literal)
(if-let*
((icon
(plist-get item :icon)))
(treemacs-get-icon-value icon nil lsp-treemacs-theme)
" ")))) But if I remove the parens, reload the function, it then no longer gives the error, and the call hierarchy displays. So at the very least this change should be safe, however it actually causes a problem |
Updating emacs from 27.1 to 28.1 solved this for me. |
I just did this on emacs28 and it fixed the issue - i.e.
so weird... |
I can confirm that this fix also works on emacs 27.2.50. Thanks! |
I confirm too, now it works fine :-) |
If I remove the surrounding parenthesis on
((icon (plist-get item :icon))
found https://github.com/emacs-lsp/lsp-treemacs/blob/master/lsp-treemacs-generic.el#L82 it works for me, but have no experience in elisp to tell what that's doing.Running latest doom emacs.
The text was updated successfully, but these errors were encountered: