Need help with coc-vetur?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

neoclide
137 Stars 5 Forks 80 Commits 4 Opened issues

Description

Vue language server extension for coc.nvim

Services available

!
?

Need anything else?

Contributors list

coc-vetur

Vue language server extension for coc.nvim.

Using vue-language-server

Note: latest vetur have changed filepath of server, make sure upgrade to latest vetur if you're using

vetur.dev.vlsPath
configuration.

Supporting

If you like my extension, consider supporting me on Patreon or PayPal:

Patreon donate button PayPal donate button

Install

In your vim/neovim, run command:

:CocInstall coc-vetur

Note you have to install

eslint
and
eslint-plugin-vue
by:
npm i eslint eslint-plugin-vue -D

in your project root for this extension to work.

Make sure your workspace root is correct by

:echo g:WorkspaceFolders

Features

Language server features provided by vue-language-server.

Configuration options

  • vetur.ignoreProjectWarning
    : Vetur will warn about not setup correctly for the project. You can disable it., default:
    false
  • vetur.useWorkspaceDependencies
    : Use dependencies from workspace. Currently only for TypeScript., default:
    false
  • vetur.completion.autoImport
    : Include completion for module export and auto import them, default:
    true
  • vetur.completion.useScaffoldSnippets
    : Enable/disable Vetur's built-in scaffolding snippets, default:
    true
  • vetur.completion.tagCasing
    : Casing conversion for tag completion, default:
    "kebab"
    Valid options: ["initial","kebab"]
  • vetur.grammar.customBlocks
    : Mapping from custom block tag name to language name. Used for generating grammar to support syntax highlighting for custom blocks, default:
    {"docs":"md","i18n":"json"}
  • vetur.validation.template
    : Validate vue-html in
  • vetur.validation.templateProps
    : Validate props usage in
  • vetur.validation.interpolation
    : Validate interpolations in
  • vetur.validation.style
    : Validate css/scss/less/postcss in

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.