mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/java: set meghanada-use-* vars earlier
Fixes a race condition where certain features ended up enabled too late for the first buffer.
This commit is contained in:
@ -3,13 +3,13 @@
|
||||
|
||||
(def-package! meghanada
|
||||
:hook (java-mode . meghanada-mode)
|
||||
:config
|
||||
:init
|
||||
(setq meghanada-server-install-dir (concat doom-etc-dir "meghanada-server/")
|
||||
meghanada-use-company (featurep! :completion company)
|
||||
meghanada-use-flycheck (featurep! :feature syntax-checker)
|
||||
meghanada-use-eldoc t
|
||||
meghanada-use-auto-start t)
|
||||
|
||||
:config
|
||||
(set-lookup-handlers! 'java-mode
|
||||
:definition #'meghanada-jump-declaration
|
||||
:references #'meghanada-reference)
|
||||
|
Reference in New Issue
Block a user