yaegassy / coc-volar

Volar (Fast Vue Language Support) extension for coc.nvim
https://www.npmjs.com/package/@yaegassy/coc-volar
MIT License
267 stars 6 forks source link

For me don't work? #330

Open seriiserii825 opened 5 months ago

seriiserii825 commented 5 months ago

Hi, thanks for plugin, but i don't understand how to make them works. Make

:CocInstall @yaegassy/coc-volar

Also for coc-tsserver

image

But in vue file, i write a component, and don't see errors that need to import. Also coc-codeaction-cursor don't import.

yaegassy commented 5 months ago

I think it's a problem with your environment. I'm not sure what the cause is, but here are a few things you can try:

  1. Make sure the filetype is set to Vue.
    • :set filetype?
  2. Check if tsserver is working properly. This section of the README might be helpful.
seriiserii825 commented 5 months ago

File type it's ok image

Command CocOpenLog

image

yaegassy commented 5 months ago

If some of the features are not working, it may be a problem with the language server itself.

npearson72 commented 3 months ago

Same for me. Can't get it to work. That said, I can't get coc-vetur to work either. React works flawlessly.

npearson72 commented 2 months ago

FYI, I was able to resolve my issue by removing coc-vetur, deleting ~/.config/coc and re-installing @yaegassy/coc-volar.