tabnine-nvim icon indicating copy to clipboard operation
tabnine-nvim copied to clipboard

Allow utils.debounce to accept nil arguments

Open aarondill opened this issue 1 year ago • 0 comments

part 1 of #141

this allows

local f = utils.debounce(function(...) print(...) end)
f(1, nil, 9, nil, nil) -- "1 nil 9 nil nil"
--- previously would've output "1" (undefined behavior)

aarondill avatar Mar 25 '24 07:03 aarondill