Browse Source

Update groovy-mode keybind

pull/15/head
10sr 7 years ago
parent
commit
b971656360
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      emacs.el

+ 1
- 0
emacs.el View File

@@ -899,6 +899,7 @@ found, otherwise returns nil."
(defvar groovy-mode-map (make-sparse-keymap))
(define-key groovy-mode-map "(" 'self-insert-command)
(define-key groovy-mode-map ")" 'self-insert-command)
(define-key groovy-mode-map (kbd "C-m") 'newline-and-indent)
)
(add-to-list 'auto-mode-alist
'("build\\.gradle\\'" . groovy-mode)))


Loading…
Cancel
Save