lassik

Results 381 comments of lassik

Commit 6bcd9a5 should fix JSON5 for prettier. Should be in MELPA in a couple hours. Does it work?

JSON5 is detected when you use `json-mode` and the filename extension is `.json5`. [Code here](https://github.com/lassik/emacs-language-id/blob/c945568a2e40e8d7e9738a534ce54e9ff59779c6/language-id.el#L49)

If there are other JSON5 modes for Emacs (e.g. in web-mode), please let me know and I'll add them.

Does prettier use `json5` as the default parser for both `.json` and `.json5` files?

Good point. But format-all should still choose a formatter when there's no rc file, or the rc file does not specify a formatter. Would `--config-precedence file-override` solve the problem? https://prettier.io/docs/en/cli.html#--config-precedence...

Please try out the fix I just pushed to the [`lassik-prettier`](https://github.com/lassik/emacs-format-all-the-code/tree/lassik-prettier/) branch.

No problem. Glad to hear it works. I merged it to master. Let me know if any problems come up. For reference, that's commit 828280e.

Thanks for the bug report. I have no experience with any of the folding packages in Emacs. Format-all doesn't try to make anything read-only at any point. Perhaps vimish-fold [makes...

I attempted a fix in the [`read-only-bugfix` branch](https://github.com/lassik/emacs-format-all-the-code/tree/read-only-bugfix). Can you try loading that version of format-all and check whether it solves the problem?

> Just checked, it does work now. Good to know. I'll push the bugfix into MELPA since it solves part of the problem and doesn't make things any worse. >...