[Emacs] Add consult-lsp to configuration

This commit is contained in:
Lucien Cartier-Tilet 2021-10-18 17:31:17 +02:00
parent e90accda8a
commit 9e88499af6
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -3978,6 +3978,17 @@ And lets enable some intergration with ~ivy~.
:init (exec-path-from-shell-initialize)) :init (exec-path-from-shell-initialize))
#+end_src #+end_src
#+begin_src emacs-lisp
(use-package consult-lsp
:defer t
:after lsp
:straight (:build t)
:general
(:states 'normal
:keymaps 'lsp-mode-map
[remap xref-find-apropos] #'consult-lsp-symbols))
#+end_src
~dap-mode~ is an advanced debugging mode that works through lsp. ~dap-mode~ is an advanced debugging mode that works through lsp.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package dap-mode (use-package dap-mode