fix(everywhere): inhibit local-vars hooks
Indirectly suppresses LSP (and other) servers, which will likely not function correctly in emacs-everywhere's temp buffers anyway.
This commit is contained in:
parent
7640631300
commit
c183aa7174
1 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,12 @@
|
||||||
:config
|
:config
|
||||||
(set-yas-minor-mode! 'emacs-everywhere-mode)
|
(set-yas-minor-mode! 'emacs-everywhere-mode)
|
||||||
|
|
||||||
|
;; HACK Inhibit MAJOR-MODE-local-vars-hook in emacs-everywhere buffers,
|
||||||
|
;; because Doom commonly starts servers and other extraneous services on
|
||||||
|
;; this hook, which will rarely work well in emacs-everywhere's temporary
|
||||||
|
;; buffers anyway.
|
||||||
|
(setq-hook! 'emacs-everywhere-init-hooks doom-inhibit-local-var-hooks t)
|
||||||
|
|
||||||
(after! doom-modeline
|
(after! doom-modeline
|
||||||
(doom-modeline-def-segment emacs-everywhere
|
(doom-modeline-def-segment emacs-everywhere
|
||||||
(concat
|
(concat
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue