mirror of
https://github.com/neovim/neovim
synced 2025-07-20 13:22:26 +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)
|
function M.make_floating_popup_options(width, height, opts)
|
||||||
validate('opts', opts, 'table', true)
|
validate('opts', opts, 'table', true)
|
||||||
opts = opts or {}
|
opts = opts or {}
|
||||||
validate('opts.offset_x', opts.offset_x, 'n', true)
|
validate('opts.offset_x', opts.offset_x, 'number', true)
|
||||||
validate('opts.offset_y', opts.offset_y, 'n', true)
|
validate('opts.offset_y', opts.offset_y, 'number', true)
|
||||||
|
|
||||||
local anchor = ''
|
local anchor = ''
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user