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

@@ -103,7 +103,7 @@ mappings.apply_keymap = function(prompt_bufnr, attach_mappings, buffer_keymap)
telescope_map(prompt_bufnr, mode, key_bind, key_func, opts)
end
if attach_mappings and not attach_mappings(map) then
if attach_mappings and not attach_mappings(prompt_bufnr, map) then
return
end