neoclide / coc-vetur

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

File project starting by a dot point crashes #63

Open JulioJu opened 3 years ago

JulioJu commented 3 years ago

A File project starting by a dot point crashes.

If we try to open with Nvim a vue file located under a folder with a name that start by a dot., Coc crashes with message:

[coc.nvim] The "vetur" server crashed 5 times in the last 3 minutes. The server will not be restarted.

It's a big problem because VuePress has vue files under a folder named .vuepress. Check https://vuepress.vuejs.org/guide/directory-structure.html

Step to reproduce

1) First

vue create hello-vue2

2) Second Create the project. I've tested with the three options

 Default ([Vue 2] babel, eslint)
  Default (Vue 3 Preview) ([Vue 3] babel, eslint)
  Manually select features (with TypeScript especially)

3) Third

mv hello-vue2 .hello-vue2

4) Fourth open a Vue file, for instance App.vue

cd .hello-vue2
nvim src/App.vue

5) Fifth We have error message

[coc.nvim] The "vetur" server crashed 5 times in the last 3 minutes. The server will not be restarted.

Notes: