From 79e414f0a0874d51d2ef4ef9d21fbc4b8d761c83 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 30 Mar 2022 12:26:58 -0400 Subject: [PATCH] Add lsp-java --- emacs/.emacs.d/config/init-java.el | 6 ++++++ emacs/.emacs.d/init.el | 1 + 2 files changed, 7 insertions(+) create mode 100644 emacs/.emacs.d/config/init-java.el diff --git a/emacs/.emacs.d/config/init-java.el b/emacs/.emacs.d/config/init-java.el new file mode 100644 index 0000000..8b9246a --- /dev/null +++ b/emacs/.emacs.d/config/init-java.el @@ -0,0 +1,6 @@ +;; -*- lexical-binding: t; -*- + +(use-package lsp-java + :hook (java-mode . lsp)) + +(provide 'init-java) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index ce3299f..08cf660 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -89,6 +89,7 @@ (require 'init-python) (require 'init-clojure) (require 'init-lisp) +(require 'init-java) (require 'init-scala) (require 'init-js) (require 'init-web)