neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 564173e5568ccf11bf6554680922d3716fb6862b
parent 31745b17e60df8efd25bc2d76fc4bd16f9959441
Author: temhelk <temhelk@gmail.com>
Date:   Fri, 18 Oct 2024 03:20:58 +0300

fix(lsp.util): wrong arguments to 'validate' function

Diffstat:
Mruntime/lua/vim/lsp/util.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua @@ -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 = ''