breaking: change attach_mappings to take bufnr as first argument

This commit is contained in:
TJ DeVries
2020-09-04 11:01:10 -04:00
parent 14310ee6b1
commit a6c883ce36
2 changed files with 2 additions and 2 deletions

View File

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