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 (add-hook! after-init
(setq winner-boring-buffers narf-ignore-buffers)) (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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Plugins ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

View file

@ -1,12 +0,0 @@
;;; module-data.el --- dbs 'n data formats
(use-package yaml-mode :mode "\\.ya?ml$")
(use-package json-mode :mode "\\.js\\(on\\|hintrc\\)$")
(use-package toml-mode :mode "\\.toml$")
;; TODO: Db client
(provide 'module-data)
;;; module-data.el ends here

View file

@ -1,7 +0,0 @@
;;; module-vim.el
(use-package vimrc-mode
:mode ("/\\.?g?vimrc$" "\\.vim$" "/\\.vim/rc/.+$"))
(provide 'module-vim)
;;; module-vim.el ends here