mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
25 lines
482 B
Lua
25 lines
482 B
Lua
local opts = {
|
|
setup = {
|
|
root_dir = require("lspconfig.util").root_pattern("package.json", "vue.config.js")
|
|
or vim.loop.cwd()
|
|
or vim.fn.getcwd(),
|
|
init_options = {
|
|
config = {
|
|
vetur = {
|
|
completion = {
|
|
autoImport = true,
|
|
tagCasing = "kebab",
|
|
useScaffoldSnippets = true,
|
|
},
|
|
useWorkspaceDependencies = true,
|
|
validation = {
|
|
script = true,
|
|
style = true,
|
|
template = true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
return opts
|