refactor(types): more fixes (2)

This commit is contained in:
Lewis Russell
2024-03-06 12:15:25 +00:00
committed by Lewis Russell
parent 3c572a31a3
commit 85b13751a5
11 changed files with 110 additions and 95 deletions

View File

@@ -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()