commit 08b91284ba52a93047212f5ca9b7fe8ef1a66209
parent 375599c5cde568dd23f9256bcc3db4a27ab41b8c
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sun, 25 Aug 2024 15:55:46 +0200
tools/emacs: display-line-numbers in yamls
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/emacs/config/programming-config.el b/tools/emacs/config/programming-config.el
@@ -10,7 +10,8 @@
(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 . highlight-indentation-current-column-mode)
+ (yaml-ts-mode . display-line-numbers-mode)))
(use-package conf-mode
:mode ("\\.to?ml\\'" . conf-toml-mode))