Clarify setup instructions?
binary132 opened this issue · 4 comments
binary132 commented
Hello,
I've added (require 'helm-lsp)
to my C++ mode hook, and it looks nice when I invoke M-x helm-lsp-workspace-symbol
, but I was under the impression this was for interactive usage with lsp. I saw in your README.org that this is meant to be used to replace lsp-mode
's xref-appropos
function, but I'm not clear on how to do this. Can you please add a few words to clarify how to override that LSP functionality?
yyoncho commented
(define-key lsp-mode-map [remap xref-find-apropos] #'helm-lsp-workspace-symbol)
And now you can use C-M-.
to trigger help-lsp.
Ekleog commented
@yyoncho Any way this could get in the README? I was about to ask the same question before seeing it already had a closed issue about it
Ekleog commented
Thank you!