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>
This commit is contained in:
Simon Hauser
2020-12-09 21:46:41 +01:00
committed by GitHub
parent c276db06e2
commit 141dc6d55e
23 changed files with 148 additions and 356 deletions

View File

@@ -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