diff --git a/lua/go/codelens.lua b/lua/go/codelens.lua index 9cb5eb1..cc94909 100644 --- a/lua/go/codelens.lua +++ b/lua/go/codelens.lua @@ -53,7 +53,7 @@ function M.refresh() if _GO_NVIM_CFG.lsp_codelens == true then local found = false if not found then - for _, lsp in pairs(vim.lsp.get_client { + for _, lsp in pairs(vim.lsp.get_clients { bufnr = 0 }) do if lsp.name == 'gopls' then