From 4f0afce90a37beb8cfa47909008147b3fd149129 Mon Sep 17 00:00:00 2001 From: Ryan Cragun Date: Mon, 30 Mar 2026 15:07:53 -0600 Subject: [PATCH] fix(lsp): vim.lsp.codelens.refresh() is deprecated Signed-off-by: Ryan Cragun --- lua/go/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/go/lsp.lua b/lua/go/lsp.lua index b26a2366f..1e0c4956c 100644 --- a/lua/go/lsp.lua +++ b/lua/go/lsp.lua @@ -37,7 +37,7 @@ local on_attach = function(client, bufnr) end if _GO_NVIM_CFG.lsp_codelens then - vim.lsp.codelens.refresh({ bufnr = 0 }) + vim.lsp.codelens.enable(true, { bufnr = 0 }) end local keymaps if _GO_NVIM_CFG.lsp_keymaps == true then