Fix starting lsp for java mode
This commit is contained in:
parent
fd7ed0a897
commit
27d6e7014c
@ -513,7 +513,7 @@
|
||||
(use-package flycheck :ensure)
|
||||
|
||||
(use-package lsp-mode :ensure
|
||||
:hook ((python-mode html-mode web-mode css-mode js2-mode) . lsp)
|
||||
:hook ((python-mode html-mode web-mode css-mode js2-mode java-mode) . lsp)
|
||||
:config
|
||||
(setq lsp-prefer-flymake nil)
|
||||
(use-package lsp-clients :demand)
|
||||
@ -537,8 +537,7 @@
|
||||
;; lsp-ui-sideline-update-mode 'point
|
||||
))
|
||||
|
||||
(use-package lsp-java
|
||||
:hook (java-mode . lsp-java-enable)
|
||||
(use-package lsp-java :demand
|
||||
:config
|
||||
(setq lsp-java-save-action-organize-imports nil)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user