# coc-vetur Vue language server extension for [coc.nvim](https://github.com/neoclide/coc.nvim). Using [vue-language-server](https://www.npmjs.com/package/vls) **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](https://www.npmjs.com/package/vls). ## 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