mirror of
https://github.com/neovim/neovim.git
synced 2026-08-27 17:41:48 +00:00
feat(lsp): support workspace/codeLens/refresh
This commit is contained in:
@@ -649,6 +649,11 @@ RSC['window/showDocument'] = function(_, params, ctx)
|
||||
return { success = success or false }
|
||||
end
|
||||
|
||||
---@see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#codeLens_refresh
|
||||
RSC['workspace/codeLens/refresh'] = function(err, result, ctx)
|
||||
return vim.lsp.codelens.on_refresh(err, result, ctx)
|
||||
end
|
||||
|
||||
---@see https://microsoft.github.io/language-server-protocol/specification/#diagnostic_refresh
|
||||
RSC['workspace/diagnostic/refresh'] = function(err, result, ctx)
|
||||
return vim.lsp.diagnostic.on_refresh(err, result, ctx)
|
||||
|
||||
Reference in New Issue
Block a user