mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(lang): Format yaml files with prettier
This commit is contained in:
@@ -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)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user