You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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.
All reactions