mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
26 lines
482 B
Lua
26 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
|