From b6ea884cee264f1601adbc59bccf0f17ed76a136 Mon Sep 17 00:00:00 2001 From: newbie Date: Mon, 1 Jan 2024 15:55:58 +0800 Subject: [PATCH] update --- lua/lsp/lua.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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