Set up groovy-mode
This commit is contained in:
parent
3aa0e201ed
commit
b19295f430
@ -2474,6 +2474,19 @@ Manage node version via NVM within Emacs:
|
|||||||
(nvm-use version)))
|
(nvm-use version)))
|
||||||
#+END_SRC
|
#+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
|
* Typescript
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package typescript-mode
|
(use-package typescript-mode
|
||||||
|
Loading…
Reference in New Issue
Block a user