From 45903fda140d5ca6ff588e76f7f1dfb2041afe39 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 27 May 2023 15:46:28 -0400 Subject: [PATCH] Remove yaml-mode. --- ansible/roles/emacs/files/lang-yaml.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ansible/roles/emacs/files/lang-yaml.el b/ansible/roles/emacs/files/lang-yaml.el index d9bdb92..1456df5 100644 --- a/ansible/roles/emacs/files/lang-yaml.el +++ b/ansible/roles/emacs/files/lang-yaml.el @@ -4,9 +4,11 @@ (run-command-on-buffer "prettier" "--stdin-filepath" buffer-file-name) ) -(use-package yaml-mode +(use-package yaml-ts-mode :mode - (("playbook\\.tmp\\'" . yaml-ts-mode) + ( + ("\\.y[a]?ml\\'" . yaml-ts-mode) + ("playbook\\.tmp\\'" . yaml-ts-mode) ("environments/[^/]*/group_vars/[^/]*\\'" . yaml-ts-mode) ("environments/[^/]*/host_vars/[^/]*\\'" . yaml-ts-mode) )