Move lsp! to local-vars hooks
- Set lsp-java-server-install-dir - Use lsp! instead of lsp in lang/cc
This commit is contained in:
parent
9c15bb82f9
commit
7c9e9a3446
4 changed files with 5 additions and 4 deletions
|
@ -3,8 +3,9 @@
|
|||
|
||||
(def-package! lsp-java
|
||||
:after-call java-mode
|
||||
:init (add-hook 'java-mode-hook #'lsp!)
|
||||
:init (add-hook 'java-mode-local-vars-hook #'lsp!)
|
||||
:config
|
||||
(setq lsp-java-server-install-dir (concat doom-etc-dir "eclipse.jdt.ls/server/"))
|
||||
;; TODO keybinds
|
||||
;; TODO treemacs integration (?)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue