groovy.el 625 B

1234567891011121314151617
  1. (define-auto-insert
  2. "Jenkinsfile"
  3. ["groovy/Jenkinsfile" yas-expand-current-buffer])
  4. (add-hook 'groovy-mode-hook 'display-fill-column-indicator-mode)
  5. ;; (with-eval-after-load 'groovy-mode
  6. ;; (let ((map groovy-mode-map))
  7. ;; (define-key map (kbd "M-.") 'dumb-jump-go)))
  8. (add-hook 'jenkinsfile-mode-hook
  9. #'(lambda () (setq-local page-delimiter "^\s*stage\(")))
  10. ;; XXX: Automatically build and install groovy-language-server-all.jar
  11. ;; ~/src/github.com/GroovyLanguageServer/groovy-language-server$ cp build/libs/groovy-language-server-all.jar /home/oleg/.emacs.d/.cache/lsp/groovy-language-server-all.jar