Skip to content

Commit

Permalink
fix: eglot-booster is only available in 29+
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Aug 6, 2024
1 parent fe6143d commit 62923b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lisp/init-lsp.el
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
;;; Code:

(eval-when-compile
(require 'init-const)
(require 'init-custom))

(pcase centaur-lsp
Expand All @@ -50,7 +51,7 @@
("C-M-." . consult-eglot-symbols)))

;; Emacs LSP booster
(when (executable-find "emacs-lsp-booster")
(when (and emacs/>=29p (executable-find "emacs-lsp-booster"))
(unless (package-installed-p 'eglot-booster)
(and (fboundp #'package-vc-install)
(package-vc-install "https://github.com/jdtsmith/eglot-booster")))
Expand Down

0 comments on commit 62923b0

Please sign in to comment.