We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ed4fb3 commit 7fbb0a4Copy full SHA for 7fbb0a4
lua/astrolsp/init.lua
@@ -80,7 +80,9 @@ end
80
---@param client table The LSP client details when attaching
81
---@param bufnr integer The buffer that the LSP client is attaching to
82
M.on_attach = function(client, bufnr)
83
- if client.supports_method "textDocument/codeLens" and M.config.features.codelens then vim.lsp.codelens.refresh() end
+ if client.supports_method "textDocument/codeLens" and M.config.features.codelens then
84
+ vim.lsp.codelens.refresh { bufnr = bufnr }
85
+ end
86
87
local formatting_disabled = vim.tbl_get(M.config, "formatting", "disabled")
88
if
0 commit comments