Use Google style guide formatting for Java files

This commit is contained in:
Jeremy Dormitzer 2022-04-05 12:27:13 -04:00
parent 0bfc165d30
commit 17bf376cce

View File

@ -1,5 +1,9 @@
;; -*- lexical-binding: t; -*- ;; -*- 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 (use-package lsp-java
:hook (java-mode . lsp-deferred)) :hook (java-mode . lsp-deferred))