diff options
| author | Matěj Cepl <mcepl@cepl.eu> | 2023-02-16 17:46:39 +0100 |
|---|---|---|
| committer | Felix Van der Jeugt <felix.vanderjeugt@posteo.net> | 2023-03-19 13:05:54 +0100 |
| commit | c3133cc5cb329ba0787c003b6f28cb11a08b25ee (patch) | |
| tree | 6b9ef465dda171bbf8c558c3f6d00b70907c9914 /lua/plugins/filetype.lua | |
| parent | 7e88dffd075d2e0bd18af33eb42b28094141198a (diff) | |
| download | vis-c3133cc5cb329ba0787c003b6f28cb11a08b25ee.tar.gz vis-c3133cc5cb329ba0787c003b6f28cb11a08b25ee.tar.xz | |
lua: Make luacheck happy
Diffstat (limited to 'lua/plugins/filetype.lua')
| -rw-r--r-- | lua/plugins/filetype.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
