From 0dbaa3d423163a70d998e9abc722dc1955b32fa8 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Wed, 27 Feb 2019 15:35:13 +0900 Subject: [PATCH] Add k8s extension --- emacs.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs.el b/emacs.el index 5e4095a..086aed1 100644 --- a/emacs.el +++ b/emacs.el @@ -1288,6 +1288,11 @@ found, otherwise returns nil." (add-hook 'before-save-hook' 'gofmt-before-save nil t) (define-key go-mode-map (kbd "M-.") 'godef-jump))) +(when (autoload-eval-lazily 'k8s-mode) + (add-to-list 'auto-mode-alist + '("\\.k8s\\'" . k8s-mode))) + + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; buffers