Vue 2#
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-server
RETvls
RET.
npm install -g vls
Debugger: Yes (Firefox/Chrome)#
Available configurations#
lsp-vetur-completion-auto-import
#
Type: boolean
Default: t
Include completion for module export and auto import them
lsp-vetur-completion-scaffold-snippet-sources
#
Type: alist
Default: ((workspace . (W)) (user . (U)) (vetur . (V)))
Where Vetur source Scaffold Snippets from and how to indicate them.
- workspace:
lsp-vetur-completion-tag-casing
#
Type: (choice (const initial) (const kebab))
Default: kebab
Casing conversion for tag completion
lsp-vetur-dev-log-level
#
Type: (choice (const INFO) (const DEBUG))
Default: INFO
The vls log level for development
lsp-vetur-dev-vls-path
#
Type: string
Default: ``
The vls path for development
lsp-vetur-dev-vls-port
#
Type: integer
Default: -1
The vls port for development
lsp-vetur-emmet
#
Type: (choice (const never) (const inMarkupAndStylesheetFilesOnly) (const always))
Default: never
Controls the Emmet suggestions that show up in the suggestion/completion list.
lsp-vetur-experimental-template-interpolation-service
#
Type: boolean
Default: nil
Whether to have template interpolation service
lsp-vetur-format-default-formatter-css
#
Type: (choice (const none) (const prettier))
Default: prettier
Default formatter for