Closed nbfalcon closed 3 years ago
In general it should be implemented using lsp-treemacs-define-action
That macro is unused?
https://github.com/search?q=org%3Aemacs-lsp+lsp-treemacs-define-action&type=code
And it is the same as dap-ui-define-action
I'll do that now. It will need some improvements though: docstring support, and the declare specs are off by one.
Since
lsp-treemacs-perform-ret-action
no longer passes the node to :ret-action, an error is thrown when pressing RET on a symbol.Fix that by having
lsp-treemcas-symbols-goto-symbol
take&rest
and to always use the node at point.Sorry, it seems I haven't tested my PR thoroughly enough...