You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered: