Move {yaml,json,toml,vimrc}-mode to core-editor

This commit is contained in:
Henrik Lissner 2016-01-29 07:02:53 -05:00
parent 899cf571e6
commit a0ee7a0a5c
3 changed files with 8 additions and 19 deletions

View file

@ -109,6 +109,14 @@ enable multiple minor modes for the same regexp.")
(add-hook! after-init
(setq winner-boring-buffers narf-ignore-buffers))
;; Extra modes ;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package vimrc-mode :mode ("/\\.?g?vimrc$" "\\.vim$" "/\\.vim/rc/.+$"))
;; Data formats
(use-package yaml-mode :mode "\\.ya?ml$")
(use-package toml-mode :mode "\\.toml$")
(use-package json-mode :mode "\\.js\\(on\\|hintrc\\)$")
;; Plugins ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;