summaryrefslogtreecommitdiff
path: root/scratch/simple_rg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scratch/simple_rg.lua')
-rw-r--r--scratch/simple_rg.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scratch/simple_rg.lua b/scratch/simple_rg.lua
index 5102611..8bd2586 100644
--- a/scratch/simple_rg.lua
+++ b/scratch/simple_rg.lua
@@ -5,7 +5,7 @@ local telescope = require('telescope')
-- When updating the table, we should call filter on those items
-- and then only display ones that pass the filter
local rg_finder = telescope.finders.new {
- fn_command = function(self, prompt)
+ fn_command = function(_, prompt)
return string.format('rg --vimgrep %s', prompt)
end,