3 ms·
My understanding is that treesitter doesn't do anything with indentation. I believe the issues described in the linked issues are neovim specific. So it should
by cturtle 4y ago
My understanding is that treesitter doesn't do anything with indentation. I believe the issues described in the linked issues are neovim specific.
So it should be possible in theory to use treesitter data to calculate indents, though it seems difficult.
- BaculumMeumEst 4y agoTreesitter does do indentation, but not well, and it is the sole mechanism of indentation for the Helix editor. Therein lies the problem.
- cturtle 4y agoAh cool, I guess I completely missed that in my reading of the docs. Thank you for clarifying!