commit fbd1429e1a00d03602bf1d15d551214fac97cd8c
parent 87974c8c6f5befdc373bd318020068ee4338ae56
Author: Ethan Long <ethandavidlong@gmail.com>
Date: Fri, 8 Dec 2023 03:55:02 +1100
Got rid of last reference to lsp.el
Diffstat:
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/config.org b/config.org
@@ -387,18 +387,10 @@ Other auxillary packages for Org mode:
LSP, the Language Server Protocol. Very nice for debugging code live as you write it. It depends on the language as to how useful this really is.
*Warning:* Some LSPs are godawful slow and can chew through CPU and memory. Be careful, tinker, and don't be afraid to disable the training wheels.
+We use the built-in package eglot for this, though we still tell ~use-package~ to downlaod it.
#+begin_src emacs-lisp
- ;; LSP mode
- (use-package lsp
- :elpaca lsp-mode
- :init
- (setq gc-cons-threshold 100000000)
- (setq read-process-output-max (* 1024 1024))
- (setq lsp-completion-provider :none)
- (setq lsp-eldoc-render-all t))
(use-package eglot)
#+end_src
-A longer term goal of mine is to remove the need for =lsp-mode= and instead use =eglot=, but =lsp-mode= just has such a painless setup that I would rather just use it sometimes.
** Tree Sitter Setup
Since Emacs 29, we don't need to install tree sitter separately anymore, it comes with Emacs!
#+begin_src emacs-lisp