4 ms·
From the linked post: > First, only method bodies are folded. This is a syntactic check — we are not folding the second level.
by lmz 2y ago
From the linked post:
> First, only method bodies are folded. This is a syntactic check — we are not folding the second level.
- hprotagonist 2y agoi’m also entirely sure you could do this “properly” with tree sitter and some small fiddling edit: by way of https://github.com/mickeynp/combobulate/issues/27 https://github.com/mickeynp/combobulate/issues/27, it's been done: https://github.com/emacs-tree-sitter/ts-fold https://github.com/emacs-tree-sitter/ts-fold