Open ahmed-shariff opened 6 months ago
When I try running origami in csharp-mode nothing happens. Upon digging a bit more, there is an error that is signaled in the origami-fold-node function. The following line is where the error is signaled: https://github.com/elp-revive/origami.el/blob/6938ba93a8c58eb76bb81227931f7067dbd66fd5/origami.el#L319
origami-fold-node
Also, this error is suppressed in origami-get-fold-tree, here: https://github.com/elp-revive/origami.el/blob/6938ba93a8c58eb76bb81227931f7067dbd66fd5/origami.el#L684
origami-get-fold-tree
I still don't fully understand what's going on here. If you need any further help with debugging this, let me know.
Sorry, I don't use this package anymore. I've moved to the TreeSitter solution, ts-fold. It's much faster and more accurate and supports more languages.
When I try running origami in csharp-mode nothing happens. Upon digging a bit more, there is an error that is signaled in the
origami-fold-node
function. The following line is where the error is signaled: https://github.com/elp-revive/origami.el/blob/6938ba93a8c58eb76bb81227931f7067dbd66fd5/origami.el#L319Also, this error is suppressed in
origami-get-fold-tree
, here: https://github.com/elp-revive/origami.el/blob/6938ba93a8c58eb76bb81227931f7067dbd66fd5/origami.el#L684I still don't fully understand what's going on here. If you need any further help with debugging this, let me know.