Add Snacks as globals in lua lsp

This commit is contained in:
Martin Larsson 2025-02-23 02:01:58 +00:00
parent 866eac6317
commit 0a6c1b0368
2 changed files with 3 additions and 2 deletions

View file

@ -30,7 +30,7 @@ return {
version = "LuaJIT"
},
diagnostics = {
globals = { "vim" },
globals = { "vim", "Snacks" },
},
-- Make the server aware of Neovim runtime files
workspace = {