neoclide / coc-vetur

Vue language server extension for coc.nvim
219 stars 7 forks source link

Format option behaves differently from coc-prettier #35

Closed iagosrodrigues closed 4 years ago

iagosrodrigues commented 4 years ago

When using the :call CocActionAsync('format') the output differs from the :PrettierAsync. These two use different configurations?

chemzqm commented 4 years ago

Should be problem of your language server, checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel

iagosrodrigues commented 4 years ago

Yeah, the problem is that a new Vue project doesn't have a prettier configuration file.

The issue can be closed.