conform.nvim icon indicating copy to clipboard operation
conform.nvim copied to clipboard

feature request: option to choose formatter for the same filetype

Open swann-castel opened this issue 8 months ago • 0 comments

Did you check existing requests?

  • [x] I have searched the existing issues

Describe the feature

I've added this config in formatters_by_ft = { typescript = { "biome-check", "prettierd" } } with stop_after_first = true in default_format_opts.

I would like something to trigger biome formatting only when biome.json is found, same for prettier with a .prettierrc file.

My use case is that I have several projects, some already migrated to biome, some still using prettier.

Provide background

No response

What is the significance of this feature?

strongly desired

Additional details

No response

swann-castel avatar Apr 25 '25 14:04 swann-castel