diff --git a/lua/lsp/lua.lua b/lua/lsp/lua.lua index f23bba2..468fd57 100644 --- a/lua/lsp/lua.lua +++ b/lua/lsp/lua.lua @@ -16,8 +16,7 @@ return { path = runtime_path, }, diagnostics = { - -- Get the language server to recognize the `vim` global - globals = {'vim', 'G' }, + globals = {'vim', 'G', 'yield', 'Candidate'}, }, workspace = { -- Make the server aware of Neovim runtime files