-
Notifications
You must be signed in to change notification settings - Fork 82
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
Select wrong formatter when file is mhtml-mode
#302
Comments
One option would be to add to But, since |
How do you feel about the approach in #303? I'm not sure if it's the best, but it seems not unreasonable to me. |
LGTM. |
I use |
In
mhtml-mode
, the varmajor-mode
is changed when your point moved into different position:css-mode
;js-mode
;mhtml-mode
.so when I point at <style></style> section, apheleia select
prettier-css
which is wrong, to fix the problem we need toalways get
mhtml-mode
as major-mode .@raxod502 I guess need to fix function
apheleia--get-formatters
, does issue #29 is related to this either ?The text was updated successfully, but these errors were encountered: