dev, yaml: Extract yaml config into separate file

Move configuration regarding yaml into its own file.
This commit is contained in:
finga 2023-11-15 11:29:27 +01:00
parent 1c0930fa65
commit 93ed2ac975
4 changed files with 4 additions and 5 deletions

View file

@ -22,10 +22,6 @@
:ensure t
:bind ("M-s d" . deadgrep))
;; yaml
(use-package yaml-mode :ensure t)
(use-package flycheck-yamllint :ensure t)
;; paredit
(use-package paredit :ensure t)
(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t)

2
.emacs.d/config/yaml.el Normal file
View file

@ -0,0 +1,2 @@
(use-package yaml-mode :ensure t)
(use-package flycheck-yamllint :ensure t)

View file

@ -57,7 +57,7 @@ symbols, which are converted to strings, and suffixed with \".el\"."
:group 'config-snippets
: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)
(dolist (snippet config-snippets)

View file

@ -11,6 +11,7 @@
!/.emacs.d/config/pass.el
!/.emacs.d/config/rust.el
!/.emacs.d/config/tramp.el
!/.emacs.d/config/yaml.el
!/.emacs.d/init.el
!/.gitignore.d/emacs
!/.local/bin/em