nvim: add lua globals

This commit is contained in:
He4eT 2023-11-13 19:30:21 +01:00
commit 9497b4f049

View file

@ -508,6 +508,13 @@ local servers = {
Lua = {
workspace = { checkThirdParty = false },
telemetry = { enable = false },
diagnostics = {
-- Get the language server to recognize the `vim` global
globals = {
'vim',
'require'
},
},
},
},
}