summaryrefslogtreecommitdiff
path: root/lua/telescope/actions/init.lua
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2020-12-09 21:46:41 +0100
committerGitHub <noreply@github.com>2020-12-09 15:46:41 -0500
commit141dc6d55e4f53ee9527adc164a0d39725394bfd (patch)
tree335457a78d554327a7c9e550118c84a7c283a059 /lua/telescope/actions/init.lua
parentc276db06e2981416995450a4198cef4b87170f6f (diff)
ci: Add luacheck ci job (#317)
* Add luacheck ci job * Fix most of the linting issues * fixup: lint Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
Diffstat (limited to 'lua/telescope/actions/init.lua')
-rw-r--r--lua/telescope/actions/init.lua2
1 files changed, 1 insertions, 1 deletions
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