neoclide/coc-prettier

:Prettier not an editor command? (E492)

psygo opened this issue · 1 comments

psygo commented

In my init.vim, I've tried:

Plug 'neoclide/coc.nvim', {'branch': 'release'}

And I've also tried:

Plug 'prettier/vim-prettier', {
    \ 'do': 'yarn install',
    \ 'for': ['javascript', 'typescript', 'css','scss', 'json', 'markdown', 'yaml', 'html'] }

(Btw, coc-tsserver works fine.)

And I did do:

:CocInstall coc-prettier

But the :Prettier just won't show up. All I get is:

E492: Not an editor command: Prettier

I'm probably doing something dumb, but what?

psygo commented

Goddamn it, I completely missed the respective docs section.