Move meghanada-mode to java-mode-local-vars-hook
Prevents org src blocks aggressively trying to activate meghanada-mode multiple times, causing undue slowness.
This commit is contained in:
parent
fb0835bfac
commit
972796913e
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
;;;###if (featurep! +meghanada)
|
||||
|
||||
(use-package! meghanada
|
||||
:hook (java-mode . meghanada-mode)
|
||||
:hook (java-mode-local-vars . meghanada-mode)
|
||||
:init
|
||||
(setq meghanada-server-install-dir (concat doom-etc-dir "meghanada-server/")
|
||||
meghanada-use-company (featurep! :completion company)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue