Make lsp-java suck a bit less
This commit is contained in:
parent
13ddf9e501
commit
d02cf8abcc
@ -425,13 +425,19 @@
|
||||
|
||||
(use-package lsp-mode :ensure
|
||||
:config
|
||||
(setq lsp-inhibit-message t
|
||||
lsp-eldoc-render-all nil)
|
||||
|
||||
(use-package company-lsp :ensure
|
||||
:config
|
||||
(push 'company-lsp company-backends))
|
||||
(push 'company-lsp company-backends)
|
||||
(setq company-lsp-enable-snippet t
|
||||
company-lsp-cache-candidates t))
|
||||
|
||||
(use-package lsp-ui :ensure
|
||||
:config
|
||||
(setq lsp-ui-sideline-ignore-duplicate t)
|
||||
(setq lsp-ui-sideline-ignore-duplicate t
|
||||
lsp-ui-sideline-update-mode 'point)
|
||||
(add-hook 'lsp-mode-hook 'lsp-ui-mode))
|
||||
|
||||
(use-package lsp-python
|
||||
@ -440,7 +446,9 @@
|
||||
|
||||
(use-package lsp-java
|
||||
;; requires eclipse jdt language server ("jdtls" in arch)
|
||||
:hook (java-mode . lsp-java-enable))
|
||||
:hook (java-mode . lsp-java-enable)
|
||||
:config
|
||||
(setq lsp-java-save-action-organize-imports nil))
|
||||
|
||||
(use-package lsp-javascript-typescript
|
||||
;; Requires javascript-typescript-langserver installed locally
|
||||
|
Loading…
Reference in New Issue
Block a user