fix(vim): add busted globals to the lua diagnostics lsp
When writing tests with busted they use some other globals that you need to tell you lsp about. I already have this for when I'm working on the nvim config and configz.
This commit is contained in:
parent
ff3b54d281
commit
53a9a07bf6
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ local servers = {
|
||||||
Lua = {
|
Lua = {
|
||||||
telemetry = { enable = false },
|
telemetry = { enable = false },
|
||||||
runtime = { version = "LuaJIT" },
|
runtime = { version = "LuaJIT" },
|
||||||
diagnostics = { globals = { "vim", "configz" } },
|
diagnostics = { globals = { "vim", "configz", "describe", "it", "assert", "spy" } },
|
||||||
workspace = {
|
workspace = {
|
||||||
library = workspace_library,
|
library = workspace_library,
|
||||||
checkThirdParty = false,
|
checkThirdParty = false,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue