Skip to content

Commit

Permalink
tweak(consult-eglot): better check for consult-lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 11, 2023
1 parent 34d6a31 commit 811b74b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ the children of class at point."
:config
;; Provide `consult-lsp' functionality from `consult-eglot', useful for
;; packages that relays on `consult-lsp' (like `dirvish-subtree').
(unless (memq 'me-lsp minemacs-modules)
(unless (or (memq 'me-lsp minemacs-modules)
(fboundp 'consult-lsp-file-symbols))
(defalias 'consult-lsp-file-symbols #'consult-eglot-symbols)))

(use-package eldoc
Expand Down

0 comments on commit 811b74b

Please sign in to comment.