-
Hi! Is that possible and if so how to do it? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi! You can to do this with the |
Beta Was this translation helpful? Give feedback.
-
Hi @Wansmer thanks for your answer. I did see those before posting, but I still couldn't figure out how to apply to my case. Different from those, I don't want that to a particular language or conditional to Treesitter existing or not. As a matter of fact, what i was trying to accomplish is on a regular language with treesitter working in it (javascript). What I would like is:
Hope that's clearer. Would you be able to guide me how to accomplish that? Thank you |
Beta Was this translation helpful? Give feedback.
There's nothing wrong with your code. I guess I was wrong to advise you on this, sorry. Do this:
This will do what you want in all cases where
treesj
gets an error that for some reason it can't dojoin
for a node.2024-05-17.21.04.55.mov
Read how the plugin works.
The nearest matching node has a comment