Don't :demand lsp-java if it isn't installed

This commit is contained in:
Adam Goldsmith 2020-08-07 14:11:31 -04:00
parent 99390edb5c
commit abf78614b2

View File

@ -571,7 +571,7 @@
(use-package lsp-python-ms :demand :if (package-installed-p 'lsp-python-ms)) (use-package lsp-python-ms :demand :if (package-installed-p 'lsp-python-ms))
(use-package lsp-java :demand (use-package lsp-java :demand :if (package-installed-p 'lsp-java)
:config :config
(setq lsp-java-save-action-organize-imports nil))) (setq lsp-java-save-action-organize-imports nil)))