From 7e85dd2e99622c325a9fc6fb384c8cc15101b989 Mon Sep 17 00:00:00 2001 From: Taken Date: Mon, 25 Nov 2024 18:44:10 +0100 Subject: [PATCH] Small change --- lua/taken/plugins/telescope.lua | 2 +- lua/taken/utils/themefuncs.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/taken/plugins/telescope.lua b/lua/taken/plugins/telescope.lua index 07ae4c0..a0b355d 100644 --- a/lua/taken/plugins/telescope.lua +++ b/lua/taken/plugins/telescope.lua @@ -13,7 +13,7 @@ return { local command = { "fd", "-H", "--type", "file" } local ignored = { ".git" } - for i, v in ipairs(ignored) do + for _, v in ipairs(ignored) do table.insert(command, "--exclude") table.insert(command, v) end diff --git a/lua/taken/utils/themefuncs.lua b/lua/taken/utils/themefuncs.lua index 918cab5..fe7d840 100644 --- a/lua/taken/utils/themefuncs.lua +++ b/lua/taken/utils/themefuncs.lua @@ -11,7 +11,7 @@ local getAllThemes = function() local newpath = string.gsub(dataDir, "%-", "%%-") local themes = {} - for i, v in ipairs(colors) do + for _, v in ipairs(colors) do if string.find(v, "lazy") then local filename = "" if vim.loop.os_uname().sysname == "Windows_NT" then