neoclide / coc-vetur

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

cannot make coc-vetur working #40

Closed GopherJ closed 4 years ago

GopherJ commented 4 years ago

I installed coc-vetur by running:

:CocInstall coc-vetur

Then I installed dev dependencies in my vue project

yarn add eslint eslint-plugin-vue --dev

BTW, I installed vim-vue also, I can see the filtype is correct.

Then I tried to open a vue file, it still gives me the message:

Parsing error: unexpected token <
GopherJ commented 4 years ago

vim version: 8.2 node version: 10.15.3

vimrc:

https://github.com/GopherJ/cfg/blob/master/coc/.vimrc

chemzqm commented 4 years ago

Try upgrade coc-vetur.