Set up groovy-mode

This commit is contained in:
Jeremy Dormitzer 2020-02-21 22:32:12 -05:00
parent 3aa0e201ed
commit b19295f430

View File

@ -2474,6 +2474,19 @@ Manage node version via NVM within Emacs:
(nvm-use version)))
#+END_SRC
* Groovy
Used for Jenkins configuration scripts and probably other things.
#+BEGIN_SRC emacs-lisp
(use-package groovy-mode
:commands (groovy-mode)
:mode (("\\.groovy\\'" . groovy-mode))
:init
(add-to-list 'interpreter-mode-alist
'("groovy" . groovy-mode))
:custom
(groovy-indent-offset 2))
#+END_SRC
* Typescript
#+BEGIN_SRC emacs-lisp
(use-package typescript-mode