Vue

Install Syntax Highlighting

:TSInstall vue
1

Install Language Server

:LspInstall vue
1

Formatters

The configured formatter(s) must be installed separately.

Configuration in ~/.config/lvim/config.lua:

-- exe value can be "prettier", "prettierd", "eslint", or "eslint_d"
lvim.lang.vue.formatters = { { exe = "prettier" } }
1
2

Also combination of some prettier and eslint can be specified:

-- exe value can be "prettier", "prettierd", "eslint", or "eslint_d"
lvim.lang.vue.formatters = { { exe = "eslint"}, { exe = "prettier" } }
1
2

With eslint and eslint_d, the --fix functionality is used for formatting.

Linters

The configured linter must be installed separately.

Configuration in ~/.config/lvim/config.lua:

-- exe value can be "eslint" or "eslint_d"
lvim.lang.vue.linters = { { exe = "eslint" } }
1
2

LSP Settings

:NlspConfig vuels
1