Browse Source

Add gawk extension support

master
10sr 6 years ago
parent
commit
d1e8353a65
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      emacs.el

+ 3
- 0
emacs.el View File

@@ -1086,6 +1086,9 @@ found, otherwise returns nil."
(add-to-list 'auto-mode-alist (add-to-list 'auto-mode-alist
'("build\\.gradle\\'" . groovy-mode))) '("build\\.gradle\\'" . groovy-mode)))


(add-to-list 'auto-mode-alist
'("\\.gawk\\'" . awk-mode))

(with-eval-after-load 'yaml-mode (with-eval-after-load 'yaml-mode
(defvar yaml-mode-map (make-sparse-keymap)) (defvar yaml-mode-map (make-sparse-keymap))
(define-key yaml-mode-map (kbd "C-m") 'newline)) (define-key yaml-mode-map (kbd "C-m") 'newline))


Loading…
Cancel
Save