Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: