lang/data: alphabetize package configs
This commit is contained in:
parent
7c5832c285
commit
fd3d2ebf0d
1 changed files with 22 additions and 22 deletions
|
@ -3,6 +3,27 @@
|
||||||
(push '("/sxhkdrc" . conf-mode) auto-mode-alist)
|
(push '("/sxhkdrc" . conf-mode) auto-mode-alist)
|
||||||
|
|
||||||
|
|
||||||
|
(def-package! dockerfile-mode
|
||||||
|
:mode "/Dockerfile$")
|
||||||
|
|
||||||
|
|
||||||
|
(def-package! graphql-mode
|
||||||
|
:mode "\\.graphql$")
|
||||||
|
|
||||||
|
|
||||||
|
(def-package! hexl ; For ROM hacking or debugging
|
||||||
|
:mode ("\\.hex$" . hexl-mode)
|
||||||
|
:mode ("\\.nes$" . hexl-mode))
|
||||||
|
|
||||||
|
|
||||||
|
(def-package! json-mode
|
||||||
|
:mode "\\.js\\(on\\|[hl]int\\(rc\\)?\\)$"
|
||||||
|
:config
|
||||||
|
(when (featurep! :feature syntax-checker)
|
||||||
|
(add-hook 'json-mode-hook #'flycheck-mode))
|
||||||
|
(set! :electric 'json-mode :chars '(?\n ?: ?{ ?})))
|
||||||
|
|
||||||
|
|
||||||
(def-package! nxml-mode
|
(def-package! nxml-mode
|
||||||
:mode "\\.plist$"
|
:mode "\\.plist$"
|
||||||
:config
|
:config
|
||||||
|
@ -12,17 +33,6 @@
|
||||||
(def-package! toml-mode :mode "\\.toml$")
|
(def-package! toml-mode :mode "\\.toml$")
|
||||||
|
|
||||||
|
|
||||||
(def-package! yaml-mode :mode "\\.ya?ml$")
|
|
||||||
|
|
||||||
|
|
||||||
(def-package! json-mode
|
|
||||||
:mode "\\.js\\(on\\|[hl]int\\(rc\\)?\\)$"
|
|
||||||
:config
|
|
||||||
(when (featurep! :feature syntax-checker)
|
|
||||||
(add-hook 'json-mode-hook #'flycheck-mode))
|
|
||||||
(set! :electric 'json-mode :chars '(?\n ?: ?{ ?})))
|
|
||||||
|
|
||||||
|
|
||||||
(def-package! vimrc-mode
|
(def-package! vimrc-mode
|
||||||
:mode "/\\.?g?vimrc$"
|
:mode "/\\.?g?vimrc$"
|
||||||
:mode "\\.vim$"
|
:mode "\\.vim$"
|
||||||
|
@ -30,17 +40,7 @@
|
||||||
:mode "\\.vimp$")
|
:mode "\\.vimp$")
|
||||||
|
|
||||||
|
|
||||||
(def-package! dockerfile-mode
|
(def-package! yaml-mode :mode "\\.ya?ml$")
|
||||||
:mode "/Dockerfile$")
|
|
||||||
|
|
||||||
|
|
||||||
(def-package! hexl ; For ROM hacking or debugging
|
|
||||||
:mode ("\\.hex$" . hexl-mode)
|
|
||||||
:mode ("\\.nes$" . hexl-mode))
|
|
||||||
|
|
||||||
|
|
||||||
(def-package! graphql-mode
|
|
||||||
:mode "\\.graphql$")
|
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue