diff --git a/emacs/.emacs.d/config/init-java.el b/emacs/.emacs.d/config/init-java.el index 327c929..67db94c 100644 --- a/emacs/.emacs.d/config/init-java.el +++ b/emacs/.emacs.d/config/init-java.el @@ -1,5 +1,9 @@ ;; -*- lexical-binding: t; -*- +;; Default to the Google styleguide formatting for Java +(use-package google-c-style + :hook (java-mode . google-set-c-style)) + (use-package lsp-java :hook (java-mode . lsp-deferred))