ensuring use of eglot

This commit is contained in:
Chris Cochrun 2022-09-29 11:05:57 -05:00
parent 85a2ef30ea
commit d871b9776d
2 changed files with 3 additions and 20 deletions

View file

@ -1961,7 +1961,7 @@ I'm gonna try this to speed up emacs and make it nicer
*** C++
In c++ I just want to make sure lsp is called when enter c++-mode
#+BEGIN_SRC emacs-lisp
(add-hook 'c++-mode-hook 'lsp)
(add-hook 'c++-mode-hook 'eglot)
#+END_SRC
*** Lua
@ -1980,7 +1980,7 @@ I've been transitioning more of my OS to NixOS. Let's get =nix-mode= working.
*** LSP
LSP is useful...
#+begin_src emacs-lisp :tangle yes
#+begin_src emacs-lisp :tangle no
(use-package lsp-mode
:commands (lsp lsp-deferred)
:custom