all repos

init.lua @ 90603ee37a94ffd2334f63e3cec8d5e06b9fb133

my nvim config
1 files changed, 12 insertions(+), 1 deletions(-)
Added new globals for sumneko_lua
Author: flof-ik ss2316544@gmail.com
Committed at: 2022-02-21 19:50:24 +0200
Parent: dbc12de
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,