Skip to content

Vue#

Server#

For more information about the LSP server, check vue-language-server.

Installation#

This Server supports automatic install. Install this language server with M-xlsp-install-serverRETvlsRET.

npm install -g vls

Debugger: Yes (Firefox/Chrome)#

Available configurations#

lsp-vetur-use-workspace-dependencies#

Default: nil

Use dependencies from workspace. Currently only for TypeScript.


lsp-vetur-completion-auto-import#

Default: t

Include completion for module export and auto import them


lsp-vetur-completion-use-scaffold-snippets#

Default: t

Enable/disable Vetur’s built-in scaffolding snippets


lsp-vetur-completion-tag-casing#

Default: kebab

Casing conversion for tag completion


lsp-vetur-grammar-custom-blocks#

Default: ((docs . md) (i18n . json))

Mapping from custom block tag name to language name. Used for generating grammar to support syntax highlighting for custom blocks.


lsp-vetur-validation-template#

Default: t

Validate vue-html in