Skip to content
Proyectos

Acerca de

Vue language server extension for coc.nvim

Desarrollo web y de aplicaciones

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
-2
in 7 days
-2
in 15 days
-2
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

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 using eslint-plugin-vue, default: true

  • vetur.validation.templateProps: Validate props usage in region. Show error/warning for not passing declared props to child components and show error for passing wrongly typed interpolation expressions, default: false

  • vetur.validation.interpolation: Validate interpolations in region using TypeScript language service, default: true

  • vetur.validation.style: Validate css/scss/less/postcss in

Explorar proyectos relacionados

Cargando…