refactor: deprecate doom-etc-dir for doom-data-dir
doom-etc-dir will be renamed to doom-data-dir, to better reflect its purpose, and align it with XDG_DATA_HOME (where it will be moved to in v3, where Doom will begin to obey XDG directory conventions more closely).
This commit is contained in:
parent
a5c80fcb4b
commit
aa54383b5d
28 changed files with 42 additions and 41 deletions
|
@ -4,7 +4,7 @@
|
|||
(use-package! lsp-java
|
||||
:after lsp-mode
|
||||
:preface
|
||||
(setq lsp-java-workspace-dir (concat doom-etc-dir "java-workspace"))
|
||||
(setq lsp-java-workspace-dir (concat doom-data-dir "java-workspace"))
|
||||
(add-hook 'java-mode-local-vars-hook #'lsp! 'append)
|
||||
:config
|
||||
(when (modulep! :tools debugger +lsp)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
(use-package! meghanada
|
||||
:hook (java-mode-local-vars . meghanada-mode)
|
||||
:init
|
||||
(setq meghanada-server-install-dir (concat doom-etc-dir "meghanada-server/")
|
||||
(setq meghanada-server-install-dir (concat doom-data-dir "meghanada-server/")
|
||||
meghanada-use-company (modulep! :completion company)
|
||||
meghanada-use-flycheck (modulep! :checkers syntax)
|
||||
meghanada-use-eldoc t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue