mirror of
https://github.com/neovim/neovim
synced 2025-07-16 17:21:49 +00:00
fix(lsp.util): wrong arguments to 'validate' function
This commit is contained in:
@ -888,8 +888,8 @@ end
|
||||
function M.make_floating_popup_options(width, height, opts)
|
||||
validate('opts', opts, 'table', true)
|
||||
opts = opts or {}
|
||||
validate('opts.offset_x', opts.offset_x, 'n', true)
|
||||
validate('opts.offset_y', opts.offset_y, 'n', true)
|
||||
validate('opts.offset_x', opts.offset_x, 'number', true)
|
||||
validate('opts.offset_y', opts.offset_y, 'number', true)
|
||||
|
||||
local anchor = ''
|
||||
|
||||
|
Reference in New Issue
Block a user