Just watched the treesitter talk. First thing that occurred to me, is that it's basically a general solution for lisp-like structural editing 😝
It's super exciting to have it that integrated into an editor, though
Does anyone know if we'll be able to use treesitter for folds and visual selections in neovim 0.5's treesitter support too? https://github.com/neovim/neovim/pull/11113 doesn't mention it.
I'd be surprised if structural folding will be supported anytime soon, since I'd expect the legacy vim way to be strongly line based (although I haven't looked at the code).
I don't see why that couldn't happen though
Folds are just a conceal afaik