Add Snacks as globals in lua lsp
This commit is contained in:
parent
866eac6317
commit
0a6c1b0368
2 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"diagnostics.globals": [
|
"diagnostics.globals": [
|
||||||
"vim"
|
"vim"
|
||||||
|
"Snacks"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ return {
|
||||||
version = "LuaJIT"
|
version = "LuaJIT"
|
||||||
},
|
},
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
globals = { "vim" },
|
globals = { "vim", "Snacks" },
|
||||||
},
|
},
|
||||||
-- Make the server aware of Neovim runtime files
|
-- Make the server aware of Neovim runtime files
|
||||||
workspace = {
|
workspace = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue