From 141dc6d55e4f53ee9527adc164a0d39725394bfd Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Wed, 9 Dec 2020 21:46:41 +0100 Subject: ci: Add luacheck ci job (#317) * Add luacheck ci job * Fix most of the linting issues * fixup: lint Co-authored-by: TJ DeVries --- lua/telescope/debounce.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/telescope/debounce.lua') diff --git a/lua/telescope/debounce.lua b/lua/telescope/debounce.lua index 329cdc5..d223e41 100644 --- a/lua/telescope/debounce.lua +++ b/lua/telescope/debounce.lua @@ -9,8 +9,8 @@ local function td_validate(fn, ms) fn = { fn, 'f' }, ms = { ms, - function(ms) - return type(ms) == 'number' and ms > 0 + function(v) + return type(v) == 'number' and v > 0 end, "number > 0", }, -- cgit v1.2.3