-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
unsure of correct configuration with use-package #8
Comments
AFAICT the mode is called |
also, the |
How can I configure prettier to run after a save in js2-mode? |
If you want to load prettier-js with use-package, I believe you can do something like this
I hope this helps 😄 |
brilliant, works a treat. You have no idea the config options I have been through to try and j2-mode or web-mode work with pure render functions without the parenthesis e.g.
Now I finally have something that works. Great work! |
I'm glad you got it working! 🍻 |
Currently my configuration is this:
But when I hit
M-q
I get this message in the gutter:If I key
M-x
and selectprettier-js
then the code formats.But if I select
M-x
andprettier-mode
I get the autoloading error:How can I have prettier-js enabled by default and to format the code after every save?
The text was updated successfully, but these errors were encountered: