yaml-mode has been added

This commit is contained in:
Sameer Rahmani 2018-04-19 13:45:36 +01:00
parent b8cee1611b
commit b7306e31ff
2 changed files with 8 additions and 0 deletions

View File

@ -13,6 +13,8 @@
(with-ability parinfer
(depends-on 'parinfer))
(with-ability yaml
(depends-on 'yaml-mode))
;; (with-ability hl
;; (depends-on 'hl-sexp))

View File

@ -174,6 +174,12 @@
;; TODO: use autopair mode if electric pair was not as good as autopair
(electric-pair-mode))
(ability yaml ()
"YAML editor."
(require 'yaml-mode)
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
(add-to-list 'auto-mode-alist '("\\.sls\\'" . yaml-mode)))
(ability code-browser ()
"Adds the code browser to FG42."
(require 'neotree)