Replies: 1 comment 1 reply
-
|
follow #979 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I use conform.nvim (https://github.com/stevearc/conform.nvim) in Neovim to format on save.
I would like to use vp fmt (or oxfmt with the vite.config.ts config definition).
The docs recommend setting oxc.fmt.configPath to ./vite.config.ts for editors, but this is VS Code-specific.
Does vp fmt support --stdin-filepath and reading from stdin (like oxfmt does)?
If not, is there another way to make oxfmt read the fmt config from vite.config.ts directly? Passing -c vite.config.ts fails with a JSON parse error since it's a TS file.
Any guidance on non-VS Code editor integration would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions