From c3133cc5cb329ba0787c003b6f28cb11a08b25ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Thu, 16 Feb 2023 17:46:39 +0100 Subject: lua: Make luacheck happy --- lua/plugins/filetype.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/plugins/filetype.lua') diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index ede9fd4..4203604 100644 --- a/lua/plugins/filetype.lua +++ b/lua/plugins/filetype.lua @@ -594,7 +594,7 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win) end local function searcher(tbl, subject) - for i, pattern in ipairs(tbl or {}) do + for _, pattern in ipairs(tbl or {}) do if string.match(subject, pattern) then return true end -- cgit v1.2.3