forked from FG42/FG42
yaml-mode has been added
This commit is contained in:
parent
b8cee1611b
commit
b7306e31ff
|
@ -13,6 +13,8 @@
|
||||||
(with-ability parinfer
|
(with-ability parinfer
|
||||||
(depends-on 'parinfer))
|
(depends-on 'parinfer))
|
||||||
|
|
||||||
|
(with-ability yaml
|
||||||
|
(depends-on 'yaml-mode))
|
||||||
;; (with-ability hl
|
;; (with-ability hl
|
||||||
;; (depends-on 'hl-sexp))
|
;; (depends-on 'hl-sexp))
|
||||||
|
|
||||||
|
|
|
@ -174,6 +174,12 @@
|
||||||
;; TODO: use autopair mode if electric pair was not as good as autopair
|
;; TODO: use autopair mode if electric pair was not as good as autopair
|
||||||
(electric-pair-mode))
|
(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 ()
|
(ability code-browser ()
|
||||||
"Adds the code browser to FG42."
|
"Adds the code browser to FG42."
|
||||||
(require 'neotree)
|
(require 'neotree)
|
||||||
|
|
Loading…
Reference in New Issue