Add Java and Kotlin support
This commit is contained in:
parent
1696abeaa7
commit
490cd7a4b0
@ -2583,6 +2583,22 @@ Manage node version via NVM within Emacs:
|
|||||||
(nvm-use version)))
|
(nvm-use version)))
|
||||||
#+END_SRC
|
#+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
|
* Groovy
|
||||||
Used for Jenkins configuration scripts and probably other things.
|
Used for Jenkins configuration scripts and probably other things.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
Loading…
Reference in New Issue
Block a user