dev, yaml: Extract yaml config into separate file
Move configuration regarding yaml into its own file.
This commit is contained in:
parent
1c0930fa65
commit
93ed2ac975
4 changed files with 4 additions and 5 deletions
|
@ -22,10 +22,6 @@
|
||||||
:ensure t
|
:ensure t
|
||||||
:bind ("M-s d" . deadgrep))
|
:bind ("M-s d" . deadgrep))
|
||||||
|
|
||||||
;; yaml
|
|
||||||
(use-package yaml-mode :ensure t)
|
|
||||||
(use-package flycheck-yamllint :ensure t)
|
|
||||||
|
|
||||||
;; paredit
|
;; paredit
|
||||||
(use-package paredit :ensure t)
|
(use-package paredit :ensure t)
|
||||||
(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t)
|
(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t)
|
||||||
|
|
2
.emacs.d/config/yaml.el
Normal file
2
.emacs.d/config/yaml.el
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
(use-package yaml-mode :ensure t)
|
||||||
|
(use-package flycheck-yamllint :ensure t)
|
|
@ -57,7 +57,7 @@ symbols, which are converted to strings, and suffixed with \".el\"."
|
||||||
:group 'config-snippets
|
:group 'config-snippets
|
||||||
:type '(repeat directory))
|
:type '(repeat directory))
|
||||||
|
|
||||||
(setq config-snippets '(base backups c calendar dev functions gpg matrix org pass rust wl))
|
(setq config-snippets '(base backups c calendar dev functions gpg matrix org pass rust wl yaml))
|
||||||
|
|
||||||
(message "Loading\nconfig-snippets: %s\nconfig-snippets-path: %s" config-snippets config-snippet-path)
|
(message "Loading\nconfig-snippets: %s\nconfig-snippets-path: %s" config-snippets config-snippet-path)
|
||||||
(dolist (snippet config-snippets)
|
(dolist (snippet config-snippets)
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
!/.emacs.d/config/pass.el
|
!/.emacs.d/config/pass.el
|
||||||
!/.emacs.d/config/rust.el
|
!/.emacs.d/config/rust.el
|
||||||
!/.emacs.d/config/tramp.el
|
!/.emacs.d/config/tramp.el
|
||||||
|
!/.emacs.d/config/yaml.el
|
||||||
!/.emacs.d/init.el
|
!/.emacs.d/init.el
|
||||||
!/.gitignore.d/emacs
|
!/.gitignore.d/emacs
|
||||||
!/.local/bin/em
|
!/.local/bin/em
|
||||||
|
|
Loading…
Reference in a new issue