dotfiles/emacs/.emacs.d/config/init-java.el

20 lines
437 B
EmacsLisp

;; -*- 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 cc-mode
:straight (:type built-in)
:general
(c-mode-base-map "TAB" #'indent-for-tab-command))
(use-package protobuf-mode)
(use-package jenv
:hook ((after-init . global-jenv-mode))
:custom
(jenv-show-active-java-in-modeline nil))
(provide 'init-java)