Przeglądaj źródła

emacs.el: do not indent automatically in yaml-mode

pull/1/head
10sr 10 lat temu
rodzic
commit
cb74fc2aa9
1 zmienionych plików z 5 dodań i 0 usunięć
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el Wyświetl plik

@@ -969,6 +969,11 @@ found, otherwise returns nil."
(setq auto-mode-alist (append '(("PKGBUILD\\'" . pkgbuild-mode))
auto-mode-alist)))

(add-hook 'yaml-mode-hook
(lambda ()
(define-key yaml-mode-map (kbd "C-m")
'newline)))

(add-hook 'html-mode-hook
(lambda ()
(define-key html-mode-map (kbd "C-m")


Ładowanie…
Anuluj
Zapisz