diff options
author | Kenny Ballou <kb@devnulllabs.io> | 2021-04-06 15:40:47 -0600 |
---|---|---|
committer | Kenny Ballou <kb@devnulllabs.io> | 2021-04-06 15:40:47 -0600 |
commit | d8e79cdcd427f08c1e4f6086ba658e4a8e46c30e (patch) | |
tree | 067fc32756e637b73181ca5b5d6b1e3ca59174d5 /config/emacs/emacs.d/lisp | |
parent | 5d7c9dba2abf01a23ee26115c6a5029ce64107d0 (diff) | |
download | dotfiles-d8e79cdcd427f08c1e4f6086ba658e4a8e46c30e.tar.gz dotfiles-d8e79cdcd427f08c1e4f6086ba658e4a8e46c30e.tar.xz |
emacs: java: add modes and default settings
Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'config/emacs/emacs.d/lisp')
-rw-r--r-- | config/emacs/emacs.d/lisp/init-java.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/emacs/emacs.d/lisp/init-java.el b/config/emacs/emacs.d/lisp/init-java.el index 736b5946..f88ee12b 100644 --- a/config/emacs/emacs.d/lisp/init-java.el +++ b/config/emacs/emacs.d/lisp/init-java.el @@ -23,6 +23,7 @@ (subword-mode) (setq-local tab-width 4) (setq-local c-basic-offset 4) + (lsp-java-boot-lens-mode) (lsp-deferred)) :config @@ -47,6 +48,8 @@ (setq lsp-java-save-action-organize-imports nil) (setq lsp-enable-on-type-formatting nil) (setq lsp-enable-indentation t) + (setq lsp-java-import-maven-enabled t) + (setq lsp-java-maven-download-sources t) (setq lsp-java-format-settings-url (expand-file-name (concat user-emacs-directory "/lsp-java/GoogleStyles.xml"))) (setq lsp-java-format-settings-profile "GoogleStyle") |