mirror of
https://github.com/neovim/neovim.git
synced 2025-11-22 10:06:33 +00:00
refactor: fix luals warnings
This commit is contained in:
@@ -46,7 +46,7 @@ function M.hover()
|
||||
end
|
||||
|
||||
local function request_with_options(name, params, options)
|
||||
local req_handler
|
||||
local req_handler --- @type function?
|
||||
if options then
|
||||
req_handler = function(err, result, ctx, config)
|
||||
local client = assert(vim.lsp.get_client_by_id(ctx.client_id))
|
||||
|
||||
Reference in New Issue
Block a user