feat(lang): Format yaml files with prettier

This commit is contained in:
2020-01-27 22:16:26 +00:00
parent 6e79446a77
commit d4ee9cc0ab

View File

@@ -7,6 +7,7 @@
;;; Code:
(require 'siren-prog-mode)
(require 'siren-prettier-js)
(use-package yaml-mode
:mode "\\.yml\\'" "\\.yaml\\'"
@@ -19,6 +20,7 @@
:init
(defun siren-yaml-mode-setup ()
(run-hooks 'prog-mode-hook)
(prettier-js-mode)
(setq tab-width 2)
(subword-mode +1)))