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

How to use prettier only when the project uses it?

Open csntr opened this issue 9 months ago • 1 comments

I have a nuxt project where I want to use antfo eslint config which says its supposed to work without prettier. In other projects the most common practice is to use prettier. I have configured conform to use prettier for most js/ts/vue files but in this case the best would be if it somehow could see that there is no prettier in the project so it could fallback to LSP formatting which is what I want optimally with the ESLint LSP. I didn't find anything on this, is this possible somehow?

csntr avatar May 17 '24 09:05 csntr