From a10ac0e6098ab9fdf58f5a8c76ed4323950e7f54 Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Thu, 12 Aug 2021 21:38:01 +0300 Subject: [PATCH] feat(lsp,vertico): remap xref-find-apropos to... ...consult-lsp-symbols --- modules/tools/lsp/+lsp.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/tools/lsp/+lsp.el b/modules/tools/lsp/+lsp.el index d6e39e4a6..d916f0809 100644 --- a/modules/tools/lsp/+lsp.el +++ b/modules/tools/lsp/+lsp.el @@ -216,3 +216,10 @@ instead is more sensible." (use-package! lsp-ivy :when (featurep! :completion ivy) :commands lsp-ivy-workspace-symbol lsp-ivy-global-workspace-symbol) + + +(use-package! consult-lsp + :defer t + :when (featurep! :completion vertico) + :init + (map! :map lsp-mode-map [remap xref-find-apropos] #'consult-lsp-symbols))