Move {yaml,json,toml,vimrc}-mode to core-editor
This commit is contained in:
parent
899cf571e6
commit
a0ee7a0a5c
3 changed files with 8 additions and 19 deletions
|
@ -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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
|
|
|
@ -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
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue