Closed mcandre closed 1 year ago
Thanks for lodging this issue. I've often thought it would be useful to be able to fold json but haven't yet got around to looking into it :)
hs-toggle-hiding
hides the parent in other modes including c-mode
, emacs-lisp-mode
, and python-mode
.
cough
I like using hideshow to fold my code. This works well in several modes such as python-mode. But when I try to toggle JSON data in json-mode, I observe a problem.
Steps to reproduce
package.json:
Go to line 3, any column except 16/17 where the curly brace lives. When you attempt to toggle the repository value, hs-minor-mode toggles the parent instead.
Expected
Observed
System