Skip to content

Commit 3644eb0

Browse files
committed
tweak(eglot-booster): automatically enable when available
1 parent 9b2703e commit 3644eb0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/me-prog.el

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,11 @@
161161

162162
;; Boost `eglot' using `emacs-lsp-booster' (github.com/blahgeek/emacs-lsp-booster)
163163
(use-package eglot-booster
164-
:straight (:host github :repo "jdtsmith/eglot-booster"))
164+
:straight (:host github :repo "jdtsmith/eglot-booster")
165+
:after eglot
166+
:init
167+
(when (executable-find "emacs-lsp-booster")
168+
(eglot-booster-mode 1)))
165169

166170

167171
;; Emacs text actions using LSP symbol information

0 commit comments

Comments
 (0)