Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get bootstrap vue autocompletion to work with coc-vetur #1729

Open
warrence opened this issue Feb 24, 2020 · 1 comment
Open

Can't get bootstrap vue autocompletion to work with coc-vetur #1729

warrence opened this issue Feb 24, 2020 · 1 comment

Comments

@warrence
Copy link

  • [* ] I have searched through existing issues
  • [ *] I have read through docs
  • [* ] I have read FAQ

Info

  • Platform: Linux
  • Vetur version: 1.17
  • VS Code version:

Problem

I'm using coc-vetur in neovim, other autocompletion is working well, except bootstrap-vue. I'm not sure if i'm setting up the right way, i tried but couldnt get it to work.

vim version: NVIM v0.4.3

  node version: v10.19.0
  coc.nvim version: 0.0.74
  term: tmux-256color
  platform: linux

  ## Messages

  ## Output channel: snippets


  ## Output channel: vetur

  [Trace - 4:47:45 PM] Sending request 'initialize - (0)'.
  [Trace - 4:47:48 PM] Received notification 'window/logMessage'.
  Loaded bundled typescript@3.6.4.
  [Trace - 4:47:49 PM] Received notification 'window/logMessage'.
  [DEBUG] Initializing ServiceHost with 0 files: []
  [Trace - 4:47:49 PM] Received notification 'window/logMessage'.
  Vetur initialized
  [Trace - 4:47:49 PM] Received response 'initialize - (0)' in 3769ms.
  [Trace - 4:47:49 PM] Sending notification 'initialized'.
  [Trace - 4:47:49 PM] Sending notification 'workspace/didChangeConfiguration'.
  [Trace - 4:47:49 PM] Sending notification 'textDocument/didOpen'.
  [Trace - 4:47:49 PM] Received request 'client/registerCapability - (0)'.
  [Trace - 4:47:49 PM] Sending response 'client/registerCapability - (0)'. Processing request took 1ms
{
      "vetur.format.options.tabSize": 2,
      "vetur.useWorkspaceDependencies": false,
      "vetur.format.options.useTabs": true,
      "vetur.dev.logLevel": "DEBUG",
      "vetur.trace.server": "messages",
      "vetur.experimental.templateInterpolationService": true,
  }

I'm using bootstrap-vue 2.5.0

checked there is vetur-attributes.json and vetur-tags.json in projectroot/node_modules/bootstrap-vue/dist

checked projectroot/node_modules/bootstrap-vue/package.json, the below is present

"vetur": {

      "tags": "dist/vetur-tags.json",
      "attributes": "dist/vetur-attributes.json"
    }

Reproducible Case

@Uninen
Copy link
Collaborator

Uninen commented Aug 31, 2020

Hi! I'm helping out triaging Vetur issues. Could you try cloning veturpack and then yarn install bootstrap-vue and test if it works. The problem might be in your project setup or an upstream issue, we'd like to first figure out which case this is, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants