Skip to content

Commit

Permalink
tweak(consult-eglot): make use of +package-disabled-p
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Feb 3, 2024
1 parent 1da5b30 commit d2c45d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ Fall back to the default `citre--project-root'."
:config
;; Provide `consult-lsp' functionality from `consult-eglot', useful for
;; packages that relays on `consult-lsp' (like `dirvish-subtree').
(unless (or (memq 'lsp-mode minemacs-configured-packages)
(fboundp 'consult-lsp-file-symbols))
(unless (or (not (+package-disabled-p 'lsp-mode 'me-lsp)) (fboundp 'consult-lsp-file-symbols))
(defalias 'consult-lsp-file-symbols #'consult-eglot-symbols)))

(use-package eldoc-box
Expand Down

0 comments on commit d2c45d1

Please sign in to comment.