Skyler Hawthorne
Skyler Hawthorne
Mentioned this in the chat room, but I'll post here too: I'm not super experienced with directly working with tree-sitter yet, but I was actually thinking it shouldn't need to...
> So, how come hitting `>` in auto-pairs will just replace the trailing `>`, but `}` won't simply because it's on another line? ? Is this question regarding this PR?...
Oh, I see. Yeah, although it also tries to address cases where you may have a few heterogeneous characters, e.g. `foo(map["string"])` where your cursor would be on the `"` after...
This is what I was thinking for the node movement: https://github.com/dead10ck/helix/commit/18cd3692cf345495ffdd2fdbf0df0395a9ecd326 It has a couple differences, though, like this will go to the end of the current node first, if...
> This implementation appears to do what you wanted, except that if it doesn't find a match, then it'll move a character ahead. Is this intentional? The difference is that...
> I like your idea of traveling the tree, and I see how it would make sense in the context of the node tree. Should it select text as well?...
Yeah, they could definitely be complementary.
> Ideally this would be tab/C-i and it would be smart enough to either insert indentation or jump out of the auto-pairs like tabout features in other editors. It might...
I do think being explicit about the strategy would make the config a lot easier to comprehend, especially to newcomers. With this addition, I can't help but feel like you'd...
That looks good to me, thanks!