Alejandro Sanchez
Alejandro Sanchez
OK, that makes sense. Upstream has support for plain `jinja`, would it maybe make more sense to support that instead? The difference between Jinja and Django templates is that Jinja...
You are right, I checked the regular `jinja` parser and it's pretty much useless for rainbow delimiters because there is no hierarchical structure. That means that in a template like...
Looks like the custom parser does not work with the `main` branch of nvim-treesitter: https://github.com/geigerzaehler/tree-sitter-jinja2/issues/5. I would like to put this issue on hold until there is a definitive way...
I think the problem with Python is that the body of a statement is not sandwiched between two parent delimiters. Let's take the following piece of Python: ```python if True:...
I now know why sandwiching is required: the algorithm to determine nesting assumes that matches are returned in a certain order which is outlined in the HACKING file (when exiting...
OK, I give up on Python for the time being. Trying to get rainbow-blocks working for Python has given me some deeper insight though, so I do think that it...
@Danielkonge > `on_changedtree` sometimes give us bad (as in not precise enough) changes on undo, when using snippets and when pasting something copied, and that can mess with highlighting. (I...
I have found one broken edge case: when pasting multiple lines with delimiters only the last line will have the proper highlighting, the other lines will be off by one...
Pasting multiple lines should be fixed now.
> I am not sure exactly what you have looked at since your last messages. Is there any of the problems I mentioned I should still try to find a...