浏览代码

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

pull/1/head
10sr 9 年前
父节点
当前提交
cb74fc2aa9
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el 查看文件

@@ -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")


正在加载...
取消
保存