diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-04 11:01:10 -0400 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-04 11:01:10 -0400 |
| commit | a6c883ce362fb77a83b2119231b655ddc7eafeea (patch) | |
| tree | aa41d352ddbf23da1342c75734f7c21352624252 /lua/telescope/mappings.lua | |
| parent | 14310ee6b1f40425ba854d6ddc6374960fdf81ca (diff) | |
breaking: change attach_mappings to take bufnr as first argument
Diffstat (limited to 'lua/telescope/mappings.lua')
| -rw-r--r-- | lua/telescope/mappings.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/mappings.lua b/lua/telescope/mappings.lua index 6c8641c..001e0b0 100644 --- a/lua/telescope/mappings.lua +++ b/lua/telescope/mappings.lua @@ -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 |
