Hacker News new | ask | show | jobs
by cturtle 1455 days 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.

1 comments

Treesitter does do indentation, but not well, and it is the sole mechanism of indentation for the Helix editor. Therein lies the problem.
Ah cool, I guess I completely missed that in my reading of the docs. Thank you for clarifying!