diff --git a/emacs/init.org b/emacs/init.org index 99db646..7e90b5b 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2583,6 +2583,22 @@ Manage node version via NVM within Emacs: (nvm-use version))) #+END_SRC +* Java +#+BEGIN_SRC emacs-lisp + (use-package lsp-java + :hook ((java-mode . lsp))) +#+END_SRC + +* Kotlin +#+BEGIN_SRC emacs-lisp + (use-package kotlin-mode + :mode (("\\.kt\\'" . kotlin-mode)) + :config + (with-eval-after-load 'lsp + (when (executable-find "kotlin-language-server") + (add-hook 'kotlin-mode-hook #'lsp)))) +#+END_SRC + * Groovy Used for Jenkins configuration scripts and probably other things. #+BEGIN_SRC emacs-lisp