diff options
Diffstat (limited to 'modules/prog-yaml.el')
| -rw-r--r-- | modules/prog-yaml.el | 18 |
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..48251155 --- /dev/null +++ b/modules/prog-yaml.el @@ -0,0 +1,18 @@ +;;; prog-yaml --- YAML Settings -*- lexical-binding: t; -*- +;; 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 |
