Browse Source

Add k8s extension

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

+ 5
- 0
emacs.el View File

@@ -1288,6 +1288,11 @@ found, otherwise returns nil."
(add-hook 'before-save-hook' 'gofmt-before-save nil t) (add-hook 'before-save-hook' 'gofmt-before-save nil t)
(define-key go-mode-map (kbd "M-.") 'godef-jump))) (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 ;; buffers




Loading…
Cancel
Save