diff --git a/nvim/.luarc.json b/nvim/.luarc.json index 1e1765c..f82b794 100644 --- a/nvim/.luarc.json +++ b/nvim/.luarc.json @@ -1,5 +1,6 @@ { "diagnostics.globals": [ "vim" + "Snacks" ] -} \ No newline at end of file +} diff --git a/nvim/lua/lsp/servers/lua_ls.lua b/nvim/lua/lsp/servers/lua_ls.lua index 4a9f57a..780383e 100644 --- a/nvim/lua/lsp/servers/lua_ls.lua +++ b/nvim/lua/lsp/servers/lua_ls.lua @@ -30,7 +30,7 @@ return { version = "LuaJIT" }, diagnostics = { - globals = { "vim" }, + globals = { "vim", "Snacks" }, }, -- Make the server aware of Neovim runtime files workspace = {