I use rust-mode along with the builtin Emacs hs-minor-mode. Unfortunately, the two do not play very well together. Specifically, whenever I run rust-format-buffer and rustfmt makes any changes to the code, all code is displayed again – even code that was previously marked as hidden using hideshow. If rustfmt does not make any changes, then no hidden code is incorrectly shown.
I suspect that this is related to #260 (and #143 mentions overall integration with HideShow).
Thanks for the great package.
I use
rust-mode
along with the builtin Emacshs-minor-mode
. Unfortunately, the two do not play very well together. Specifically, whenever I runrust-format-buffer
and rustfmt makes any changes to the code, all code is displayed again – even code that was previously marked as hidden using hideshow. If rustfmt does not make any changes, then no hidden code is incorrectly shown.I suspect that this is related to #260 (and #143 mentions overall integration with HideShow).