summaryrefslogtreecommitdiff
path: root/lua/telescope/builtin.lua
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-09-04 11:01:10 -0400
committerTJ DeVries <devries.timothyj@gmail.com>2020-09-04 11:01:10 -0400
commita6c883ce362fb77a83b2119231b655ddc7eafeea (patch)
treeaa41d352ddbf23da1342c75734f7c21352624252 /lua/telescope/builtin.lua
parent14310ee6b1f40425ba854d6ddc6374960fdf81ca (diff)
breaking: change attach_mappings to take bufnr as first argument
Diffstat (limited to 'lua/telescope/builtin.lua')
-rw-r--r--lua/telescope/builtin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/builtin.lua b/lua/telescope/builtin.lua
index f96fa97..75421e0 100644
--- a/lua/telescope/builtin.lua
+++ b/lua/telescope/builtin.lua
@@ -254,7 +254,7 @@ builtin.command_history = function(opts)
finder = finders.new_table(results),
sorter = sorters.get_norcalli_sorter(),
- attach_mappings = function(map)
+ attach_mappings = function(_, map)
map('i', '<CR>', actions.set_command_line)
-- TODO: Find a way to insert the text... it seems hard.