mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-10 04:20:13 -08:00
parent
84c197108e
commit
30c95e6519
1 changed files with 7 additions and 3 deletions
|
|
@ -8,9 +8,13 @@
|
||||||
eglot-autoshutdown t
|
eglot-autoshutdown t
|
||||||
;; NOTE: We disable eglot-auto-display-help-buffer because :select t in
|
;; NOTE: We disable eglot-auto-display-help-buffer because :select t in
|
||||||
;; its popup rule causes eglot to steal focus too often.
|
;; its popup rule causes eglot to steal focus too often.
|
||||||
eglot-auto-display-help-buffer nil)
|
eglot-auto-display-help-buffer nil
|
||||||
(when (modulep! :checkers syntax -flymake)
|
;; Leave it to our modules and user config to initialize these.
|
||||||
(setq eglot-stay-out-of '(flymake)))
|
eglot-stay-out-of
|
||||||
|
(append (if (modulep! :checkers syntax -flymake)
|
||||||
|
'(flymake))
|
||||||
|
(if (modulep! :completion company)
|
||||||
|
'(company))))
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(set-popup-rule! "^\\*eglot-help" :size 0.15 :quit t :select t)
|
(set-popup-rule! "^\\*eglot-help" :size 0.15 :quit t :select t)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue