fix(language/yaml): switch back to yaml-mode

Turns out yaml-ts-mode forces 4-space indentation with no options to
changes it.
This commit is contained in:
2024-12-10 21:23:39 +00:00
parent 64eeebbf6b
commit a7fc77f52e

View File

@@ -87,9 +87,11 @@ or *.yaml file in a .github/workflows/ directory."
(siren-flycheck-setup-yaml-actionlint))
(when (fboundp 'yaml-ts-mode)
;; TODO: Revisit yaml-ts-mode at some point in the future when it no longer
;; forces the use of 4-space indentation.
(use-package yaml-ts-mode
:straight (:type built-in)
:mode "\\.ya?ml\\'"
;; :mode "\\.ya?ml\\'"
:hook (yaml-ts-mode . siren-yaml-ts-mode-setup)
:preface