chore(nvim): set global vim variable in Lua
This commit is contained in:
parent
66b1d7da49
commit
b6deb4cf8e
|
@ -10,7 +10,6 @@ local servers = {
|
||||||
bashls = true,
|
bashls = true,
|
||||||
cssls = true,
|
cssls = true,
|
||||||
html = true,
|
html = true,
|
||||||
sumneko_lua = true,
|
|
||||||
tsserver = true,
|
tsserver = true,
|
||||||
vuels = true,
|
vuels = true,
|
||||||
yamlls = true,
|
yamlls = true,
|
||||||
|
@ -19,6 +18,16 @@ local servers = {
|
||||||
filetypes = { "php", "module", "test", "inc" },
|
filetypes = { "php", "module", "test", "inc" },
|
||||||
},
|
},
|
||||||
|
|
||||||
|
sumneko_lua = {
|
||||||
|
settings = {
|
||||||
|
Lua = {
|
||||||
|
diagnostics = {
|
||||||
|
globals = { "vim" },
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
tailwindcss = {
|
tailwindcss = {
|
||||||
filetypes = { "html", "html.twig" },
|
filetypes = { "html", "html.twig" },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue