diff --git a/.emacs.d/config/dev.el b/.emacs.d/config/dev.el index aaa8f0a..14fcee8 100644 --- a/.emacs.d/config/dev.el +++ b/.emacs.d/config/dev.el @@ -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) diff --git a/.emacs.d/config/yaml.el b/.emacs.d/config/yaml.el new file mode 100644 index 0000000..45cdb62 --- /dev/null +++ b/.emacs.d/config/yaml.el @@ -0,0 +1,2 @@ +(use-package yaml-mode :ensure t) +(use-package flycheck-yamllint :ensure t) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 0a935e8..1d7e835 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -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) diff --git a/.gitignore.d/emacs b/.gitignore.d/emacs index 15f82b4..d8d62c3 100644 --- a/.gitignore.d/emacs +++ b/.gitignore.d/emacs @@ -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