From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- modules/prog-yaml.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 modules/prog-yaml.el (limited to 'modules/prog-yaml.el') diff --git a/modules/prog-yaml.el b/modules/prog-yaml.el new file mode 100644 index 00000000..48251155 --- /dev/null +++ b/modules/prog-yaml.el @@ -0,0 +1,18 @@ +;;; prog-yaml --- YAML Settings -*- lexical-binding: t; -*- +;; author: Craig Jennings + +;;; Commentary: + +;;; Code: + +(use-package yaml-mode + :defer .5 + :commands (yaml-mode) + :config + (add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)) + (add-to-list 'auto-mode-alist '("\\.yaml\\'" . yaml-mode))) + +(add-hook 'yaml-mode-hook ' flycheck-mode-hook) + +(provide 'prog-yaml) +;;; prog-yaml.el ends here -- cgit v1.2.3