From 78ba21f30dce6a0cbcb411baaee0d33091b25d13 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Sat, 8 Jun 2024 17:50:56 +0100 Subject: [PATCH] chore(vim): add some more of the busted globals --- site-modules/core/files/vim/plugin/lsp.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site-modules/core/files/vim/plugin/lsp.lua b/site-modules/core/files/vim/plugin/lsp.lua index c07e9d4..bb9cf22 100644 --- a/site-modules/core/files/vim/plugin/lsp.lua +++ b/site-modules/core/files/vim/plugin/lsp.lua @@ -27,7 +27,9 @@ local servers = { Lua = { telemetry = { enable = false }, runtime = { version = "LuaJIT" }, - diagnostics = { globals = { "vim", "configz", "describe", "it", "assert", "spy" } }, + diagnostics = { + globals = { "vim", "configz", "describe", "it", "assert", "spy", "stub", "before_each", "after_each" }, + }, workspace = { library = workspace_library, checkThirdParty = false,