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

feature request:

Open beaumccartney opened this issue 7 months ago • 2 comments

Did you check existing requests?

  • [X] I have searched the existing issues

Describe the feature

in the old syntax, I could list a few formatters to try in order, and stop at the first just in the setup call i.e. per filetype

conform.setup({
    formatters_by_ft = {
        javascript = { { "prettierd", "prettier" } },
    },
})

for js files, this would use prettierd if available, and prettier otherwise.

afaik that api's deprecated (message everytime I use it), but from my reading and code spelunking, its not actually possible to specify stop_after_first in the table

is it possible to use the old functionality without using the deprecated api?

Provide background

provided above

What is the significance of this feature?

strongly desired

Additional details

was an old feature, was removed(??)

beaumccartney avatar Jul 27 '24 00:07 beaumccartney