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/actions/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/telescope/actions/init.lua') diff --git a/lua/telescope/actions/init.lua b/lua/telescope/actions/init.lua index e479d1b..aaeffab 100644 --- a/lua/telescope/actions/init.lua +++ b/lua/telescope/actions/init.lua @@ -198,7 +198,7 @@ actions.edit_register = function(prompt_bufnr) -- update entry in results table -- TODO: find way to redraw finder content - for k, v in pairs(picker.finder.results) do + for _, v in pairs(picker.finder.results) do if v == entry then v.content = updated_value end -- cgit v1.2.3