We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've installed jsonnnetfmt such that which jsonnetfmt gives the location for the binary.
which jsonnetfmt
I then opened a foo.json file and did: M-x format-all-buffer at which point, I get the prompt: Formatter for Javascript:
M-x format-all-buffer
Formatter for Javascript:
I entered prettier and I as you would expect I get an error because it's trying to use javascript formatter on json file.
prettier
Am I doing something wrong? How do I use format-all to format json files?
The text was updated successfully, but these errors were encountered:
If the buffer in js-mode or json-mode? format-all uses the Emacs mode to determine the programming language.
js-mode
json-mode
Sorry, something went wrong.
No branches or pull requests
I've installed jsonnnetfmt such that
which jsonnetfmt
gives the location for the binary.I then opened a foo.json file and did:
M-x format-all-buffer
at which point, I get the prompt:Formatter for Javascript:
I entered
prettier
and I as you would expect I get an error because it's trying to use javascript formatter on json file.Am I doing something wrong? How do I use format-all to format json files?
The text was updated successfully, but these errors were encountered: