Open garyo opened 4 years ago
One way to try to deal with this will be to add auto-fill-function
(and probably other fill-related variables that do-auto-fill
looks up) to mmm-save-local-variables
and then have mmm-mode
change them on per-region basis.
I have my
text-mode-hook
turn on auto-fill. In a.vue
file, it has three parts: HTML (derived from text-mode), typescript, and css. I've noticed that my text-mode-hook ends up turning on auto-fill for the whole.vue
file.Once I figured this out, I just turned off auto-fill for text mode because I don't really care about it that much, so this is not urgent for me, but thought I'd report it. I think the correct behavior would be to enable and disable auto-fill depending on the region.