neoclide / coc-prettier

Prettier extension for coc.nvim.
MIT License
546 stars 48 forks source link

Prisma need support for prettier #133

Closed maxmx03 closed 2 years ago

maxmx03 commented 3 years ago

Hello, i tried to format prisma file with this plugin: plugin but didnt work. coc-prettier doesnt support plugins?

Captura de tela de 2021-08-21 22-52-10

I'm formatting this way at the moment: autocmd InsertLeave *.prisma :!npx prisma format

SOLID-arity commented 2 years ago

This didn't work for me unfortunately. Any idea how to get it to work?

chemzqm commented 2 years ago

You have to make used the prettier used by coc-prettier installed with your plugin, use command :CocCommand prettier.openOutput