diff --git a/home-config/dotfiles/emacs.d/config/programming-languages.el b/home-config/dotfiles/emacs.d/config/programming-languages.el index ecfc5119..3b3f1e6e 100644 --- a/home-config/dotfiles/emacs.d/config/programming-languages.el +++ b/home-config/dotfiles/emacs.d/config/programming-languages.el @@ -130,7 +130,8 @@ (leaf yaml-ts-mode :require eglot :mode `(,(rx (or ".yaml" ".yml" ".bst" "project.conf") string-end)) - :hook (yaml-ts-mode-hook . eglot-ensure)) + :hook (yaml-ts-mode-hook . eglot-ensure) + :hook (yaml-ts-mode-hook . (lambda () (setq-local tab-width 2)))) ;; ---------------------------------------------------------------------------------- ;;; KDL