mirror of
https://github.com/neovim/neovim.git
synced 2026-04-23 15:55:36 +00:00
refactor(types): more fixes (2)
This commit is contained in:
committed by
Lewis Russell
parent
3c572a31a3
commit
85b13751a5
@@ -58,7 +58,7 @@ end
|
||||
--- @param method string
|
||||
--- @param opts? {bufnr: integer?}
|
||||
--- @return lsp.Registration? (table|nil) the registration if found
|
||||
--- @private
|
||||
--- @package
|
||||
function M:get(method, opts)
|
||||
opts = opts or {}
|
||||
opts.bufnr = opts.bufnr or vim.api.nvim_get_current_buf()
|
||||
|
||||
Reference in New Issue
Block a user