I’ve been absolutely loving treesitter. It’s come a long way and it’s been absolutely great for things like folds, motions, highlights of course. Now that I’ve finally gotten familiar with writing my own queries I can extend the existing plugins. As an example I’ve added folds to blocks of multiple consecutive comments in JS and Ruby.

What are some of your favorites?

  • yads@lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Someone else in the thread recommended pounce as well for that. I actually used to have hop installed, but I just never would use it. The default motions seem sufficient for me.