486 B
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)