From d8c602af5942f99079284a8e5397f20a7611cb8e Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 9 Apr 2024 15:20:43 +0900 Subject: [PATCH] Update --- emacs.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs.el b/emacs.el index c399a70..3e14aa6 100644 --- a/emacs.el +++ b/emacs.el @@ -2007,6 +2007,10 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called." (with-eval-after-load 'yaml-mode (defvar yaml-mode-map (make-sparse-keymap)) (define-key yaml-mode-map (kbd "C-m") 'newline)) +(when (fboundp 'yaml-mode) + (add-to-list 'auto-mode-alist + '("\\.yaml\\.gotmpl\\'" . yaml-mode))) + (with-eval-after-load 'html-mode (defvar html-mode-map (make-sparse-keymap))