1
Indentation in yaml-ts-mode
(alien.top)
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
It does not have indentation at all. It should, but for reasons, it does not. Furthermore, for reasons that strain credulity, it will highlight ERROR nodes with a font lock face, causing endless graphical flashing as you leave your tree-sitter tree in a brief error-state as you type.
I recommend you ditch it unless you have a good reason for using it. The third-party yaml-mode.el is excellent.
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.