1
0
Fork 0

Replace eglot with lsp-mode as LSP backend

`lsp-mode` claims to be non-blocking and is equally easy to set up, so let's
give it a try.
Esse commit está contido em:
Daniel - 2021-04-22 12:01:44 +02:00
commit 9ac3640159
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 1C7071A75BB72D64
2 arquivos alterados com 4 adições e 6 exclusões

1
.gitignore externo
Ver arquivo

@ -58,3 +58,4 @@
/sandbox/.emacs.d
/flycheck_init.el
/projects
/.lsp-session-v1

Ver arquivo

@ -1477,12 +1477,9 @@
:commands (global-flycheck-mode flycheck-mode)
:init (setq flycheck-emacs-lisp-load-path 'inherit))
(use-package eglot
(use-package lsp-mode
:ensure t
:commands (eglot-ensure)
;; Highlighting takes a lot of time and does not add much value, so let's just
;; disable it
:init (setq eglot-ignored-server-capabilites '(:documentHighlightProvider)))
:commands (lsp))
;; * Mail
@ -2995,7 +2992,7 @@ With given ARG, display files in `db/important-document-path."
:config (progn
(add-hook 'python-mode-hook #'highlight-indentation-mode)
(add-hook 'python-mode-hook #'company-mode)
(add-hook 'python-mode-hook #'eglot-ensure)))
(add-hook 'python-mode-hook #'lsp)))
(use-package shr
:init (setq shr-use-fonts nil