fix: undefined vim global variable

This commit is contained in:
asep komarudin 2024-02-19 20:29:46 +07:00
parent 5b031084f0
commit 5d65f5b312

View file

@ -0,0 +1,16 @@
return {
settings = {
Lua = {
diagnostics = {
globals = { "vim" },
},
workspace = {
library = {
[vim.fn.expand("$VIMRUNTIME/lua")] = true,
[vim.fn.stdpath("config") .. "/lua"] = true,
},
},
},
},
}