Am I missing something or does the new yaml-ts-mode
not having any rules for indentation? Seems odd in a language where indentation is semantically relevant.
GNU Emacs 29.1 (build 2, x86_64-unknown-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2023-08-03
Treesitter grammar installed and loaded via:
(use-package treesit-auto
:config
(add-to-list 'global-treesit-auto-modes '(not org-mode))
(setq treesit-auto-install t)
(global-treesit-auto-mode))
It seems to be only a very rudimentary implementation of a yaml major mode. The only thing that it does better is that it works faster and seems to do more consistent highlighting. And I actually like what you describe as “graphical flashing” because it gives you immediate feedback when something is wrong. Yet I admit it is annoying too. Also, yaml-mode indentation while better still needs getting used to in comparison to other modes. I am back at using yaml and yaml-pro.