Skip to content

Commit

Permalink
Update init.el
Browse files Browse the repository at this point in the history
  • Loading branch information
gitrj95 authored Oct 22, 2024
1 parent 8653865 commit 9c32173
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -293,15 +293,9 @@
(unless (package-installed-p 'eglot-booster)
(package-vc-install "https://github.com/jdtsmith/eglot-booster.git"))
(use-package eglot-booster
:after eglot
:config
(add-hook
'eglot-managed-mode-hook
(lambda ()
;; NOTE: boost only if binary exists
(if (eglot-managed-p)
(when (executable-find "emacs-lsp-booster")
(eglot-booster-mode 1))
(eglot-booster-mode -1)))))
(eglot-booster-mode))

;;; Env

Expand Down

0 comments on commit 9c32173

Please sign in to comment.