From dfadd4e759d67de50e0f9cd4bed57c6871b5d6d3 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 17 Aug 2022 11:17:50 -0400 Subject: [PATCH] Download maven sources for java projects --- emacs/.emacs.d/config/init-java.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-java.el b/emacs/.emacs.d/config/init-java.el index 9425a0d..a4b091c 100644 --- a/emacs/.emacs.d/config/init-java.el +++ b/emacs/.emacs.d/config/init-java.el @@ -5,7 +5,9 @@ :hook (java-mode . google-set-c-style)) (use-package lsp-java - :hook (java-mode . lsp-deferred)) + :hook (java-mode . lsp-deferred) + :custom + (lsp-java-maven-download-sources t)) (defvar java-debug-map (make-sparse-keymap)) (general-def java-mode-map