1 2 3 4 5 6 7 8
(require 'config-package) (use-package yaml-mode :ensure t :init (add-hook 'yaml-mode-hook 'flycheck-mode) :mode ("\\.ya?ml\\'" . yaml-mode)) (provide 'module-yaml)