fix: move to actions.select as default action (#465)

This commit is contained in:
anott03
2021-01-25 13:20:01 -05:00
committed by GitHub
parent 5bf9e14f10
commit ccbb7f5638
8 changed files with 61 additions and 54 deletions

View File

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