Add Java and Kotlin support

This commit is contained in:
Jeremy Dormitzer 2020-03-18 09:09:20 -04:00
parent 1696abeaa7
commit 490cd7a4b0

View File

@ -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