chore(nvim): set global vim variable in Lua

This commit is contained in:
Oliver Davies 2022-01-13 00:16:27 +00:00
parent 66b1d7da49
commit b6deb4cf8e

View file

@ -10,7 +10,6 @@ local servers = {
bashls = true,
cssls = true,
html = true,
sumneko_lua = true,
tsserver = true,
vuels = true,
yamlls = true,
@ -19,6 +18,16 @@ local servers = {
filetypes = { "php", "module", "test", "inc" },
},
sumneko_lua = {
settings = {
Lua = {
diagnostics = {
globals = { "vim" },
}
}
}
},
tailwindcss = {
filetypes = { "html", "html.twig" },
},