Преглед изворни кода

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.
master
Daniel пре 2 месеци
родитељ
комит
6a590da9cb
No known key found for this signature in database
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4
    1
      init.el

+ 4
- 1
init.el Прегледај датотеку

@@ -1478,7 +1478,10 @@
1478 1478
 
1479 1479
 (use-package eglot
1480 1480
   :ensure t
1481
-  :commands (eglot-ensure))
1481
+  :commands (eglot-ensure)
1482
+  ;; Highlighting takes a lot of time and does not add much value, so let's just
1483
+  ;; disable it
1484
+  :init (setq eglot-ignored-server-capabilites '(:documentHighlightProvider)))
1482 1485
 
1483 1486
 
1484 1487
 ;; * Mail

Loading…
Откажи
Сачувај