home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 6eefe10e307fd74ec1762f6142a416a6143541cf
parent b3c9fc5f6ab35736a337b8550f0f8f5e6d86e37e
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 30 Sep 2024 22:55:14 +0200

tools/emacs: fix highlight-indentation

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/programming-config.el | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tools/emacs/config/programming-config.el b/tools/emacs/config/programming-config.el @@ -7,11 +7,13 @@ "Where all my sources are.") (set-register ?s `(file . ,src-dir)) +(use-package highlight-indentation + :hook ((yaml-ts-mode . highlight-indentation-mode) + (yaml-ts-mode . highlight-indentation-current-column-mode))) + (use-package yaml-ts-mode :mode "\\.ya?ml\\'" - :hook ((yaml-ts-mode . highlight-indentation-mode) - (yaml-ts-mode . highlight-indentation-current-column-mode) - (yaml-ts-mode . display-line-numbers-mode))) + :hook ((yaml-ts-mode . display-line-numbers-mode))) (use-package conf-mode :mode ("\\.to?ml\\'" . conf-toml-mode))