From a6c883ce362fb77a83b2119231b655ddc7eafeea Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Fri, 4 Sep 2020 11:01:10 -0400 Subject: breaking: change attach_mappings to take bufnr as first argument --- lua/telescope/builtin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/telescope/builtin.lua') 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', '', actions.set_command_line) -- TODO: Find a way to insert the text... it seems hard. -- cgit v1.2.3