dotfiles/emacs/.emacs.d/init/oni-java-init.org
2017-11-13 13:37:05 -08:00

486 B

Enable electric pair mode

  (add-hook 'java-mode-hook 'electric-pair-local-mode)

Enable electric indent mode

  (add-hook 'java-mode-hook 'electric-indent-local-mode)

Configure the JDEE server

  (with-eval-after-load 'jdee-bsh
    (setq jdee-server-dir "~/usr/share/java/jdee/"))

Enable fill column indicator

  (add-hook 'java-mode-hook 'fci-mode)