Commit 6eefe10e307f

Vincent Demeester <vincent@sbr.pm>
2024-09-30 22:55:14
tools/emacs: fix highlight-indentation
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent b3c9fc5
Changed files (1)
tools
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))