We have broke all extension that do some sort of goto_file_selection:replace

Problem described here: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767831897
Possible solution: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767808213
This commit is contained in:
anott03
2021-01-27 11:22:11 -05:00
committed by GitHub
parent ccbb7f5638
commit 5995a8be8f
8 changed files with 52 additions and 59 deletions

View File

@@ -116,7 +116,7 @@ lsp.code_actions = function(opts)
end
},
attach_mappings = function(prompt_bufnr)
actions.select:replace(function()
actions.goto_file_selection_edit:replace(function()
local selection = actions.get_selected_entry()
actions.close(prompt_bufnr)
local val = selection.value