summaryrefslogtreecommitdiff
path: root/lua/telescope/finders.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/finders.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/finders.lua')
-rw-r--r--lua/telescope/finders.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/telescope/finders.lua b/lua/telescope/finders.lua
index 3943a51..f968ad3 100644
--- a/lua/telescope/finders.lua
+++ b/lua/telescope/finders.lua
@@ -133,9 +133,9 @@ function OneshotJobFinder:new(opts)
end
})
- local job_opts = finder:fn_command(prompt)
+ local job_opts = finder:fn_command(_)
if not job_opts then
- error(debug.trackeback("expected `job_opts` from fn_command"))
+ error(debug.traceback("expected `job_opts` from fn_command"))
end
local writer = nil