Rework eglot configuration to use built-in package
This commit is contained in:
parent
f2dc1fe496
commit
6c24da4503
1 changed files with 9 additions and 3 deletions
10
config.org
10
config.org
|
|
@ -731,8 +731,11 @@ https://github.com/victorhge/iedit
|
|||
** Eglot
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package eglot)
|
||||
|
||||
(use-package eglot
|
||||
:ensure nil
|
||||
:custom
|
||||
(eglot-autoshutdown t)
|
||||
:init
|
||||
(setq eglot-stay-out-of '(xref))
|
||||
(add-hook 'prog-mode-hook 'eglot-ensure)
|
||||
(add-hook 'eglot-managed-mode-hook (lambda ()
|
||||
|
|
@ -740,6 +743,9 @@ https://github.com/victorhge/iedit
|
|||
(add-hook 'xref-backend-functions 'eglot-xref-backend)
|
||||
(remove-hook 'xref-backend-functions 'eglot-xref-backend)
|
||||
)))
|
||||
|
||||
)
|
||||
|
||||
#+END_SRC
|
||||
|
||||
** Markdown-mode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue