summaryrefslogtreecommitdiff
path: root/modules/prog-yaml.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-12 11:47:26 -0500
committerCraig Jennings <c@cjennings.net>2025-10-12 11:47:26 -0500
commit092304d9e0ccc37cc0ddaa9b136457e56a1cac20 (patch)
treeea81999b8442246c978b364dd90e8c752af50db5 /modules/prog-yaml.el
changing repositories
Diffstat (limited to 'modules/prog-yaml.el')
-rw-r--r--modules/prog-yaml.el18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/prog-yaml.el b/modules/prog-yaml.el
new file mode 100644
index 00000000..1a970313
--- /dev/null
+++ b/modules/prog-yaml.el
@@ -0,0 +1,18 @@
+;;; prog-yaml --- YAML Settings -*- lexical-binding: t; coding: utf-8; -*-
+;; author: Craig Jennings <c@cjennings.net>
+
+;;; 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