Disable automatic document highlighting in eglot

This causes lagging while highlighting symbols, and the highlighting itself does
not add much value.  Disabling it thus does not hurt and gets rid of the
lagging.
This commit is contained in:
Daniel - 2021-03-31 21:27:20 +02:00
父節點 e2bd3880f1
當前提交 6a590da9cb
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 1C7071A75BB72D64
共有 1 個檔案被更改,包括 4 行新增1 行删除

查看文件

@ -1478,7 +1478,10 @@
(use-package eglot
:ensure t
:commands (eglot-ensure))
: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)))
;; * Mail