Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto-fill mode #117

Open
garyo opened this issue Oct 8, 2020 · 1 comment
Open

auto-fill mode #117

garyo opened this issue Oct 8, 2020 · 1 comment

Comments

@garyo
Copy link

garyo commented Oct 8, 2020

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.

@dgutov
Copy link
Owner

dgutov commented Oct 10, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants