Open greg-grigorjevs opened 1 month ago
Hi, so I just tried this in helix, and this is also the case there. wonder if this is the case in other languages that inject html. So I am not sure if this is the issue with this parser or it is just the way tree-sitter handles things. For example, the text editors have a hard time, where you use the shortcut for comments. They inject html comments, even if the blade comments are fully configured
So when I am in an html file and I have something like this
<div>|</div>
and I press enter it expands to this:but when I am in a blade file the same action expands to this:
At the same time when if I put the cursor here:
It expands correctly to this:
And it also expands correctly if I press o/O in normal mode
I have already tried copy-pasting the contents of https://github.com/nvim-treesitter/nvim-treesitter/blob/1aad04ecde5ebf8f2b3eea5c6f39d38b251757f5/queries/html_tags/indents.scm into after/queries/blade/indents.scm and indent is enabled inside my treesitter config but that didn't change anything.
Does anyone has the same issue ?