A fold mode could show only the items in view of the current cursor in the edit window, folding everything out of scope from the top level of the file ('from top') or folding everything out of scope not at the current cursor ('from cursor') to basically track js visibility at the current point, or ('off') leaving everything expanded. For larger functions and complex code, this would make lupa much more viable.
A fold mode could show only the items in view of the current cursor in the edit window, folding everything out of scope from the top level of the file ('from top') or folding everything out of scope not at the current cursor ('from cursor') to basically track js visibility at the current point, or ('off') leaving everything expanded. For larger functions and complex code, this would make lupa much more viable.