1 files changed,
12 insertions(+),
1 deletions(-)
M
lua/lsp/providers/sumneko_lua.lua
@@ -1,7 +1,18 @@
return { settings = { Lua = { - diagnostics = { globals = { "vim" } }, + diagnostics = { + globals = { + "vim", + "describe", + "it", + "before_each", + "after_each", + "teardown", + "pending", + "clear", + }, + }, workspace = { library = { [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true,