From f3ef5920725d719ed23195a457a86015826d3e1d Mon Sep 17 00:00:00 2001 From: hungpt2702 <49029378+hungpt2702@users.noreply.github.com> Date: Wed, 10 Nov 2021 20:18:02 +0700 Subject: [PATCH] fix: actions.git_checkout_current_buffer calling deprecated method (#1439) --- lua/telescope/actions/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/telescope/actions/init.lua b/lua/telescope/actions/init.lua index 0e26ac8..5ff24cb 100644 --- a/lua/telescope/actions/init.lua +++ b/lua/telescope/actions/init.lua @@ -590,7 +590,7 @@ end actions.git_checkout_current_buffer = function(prompt_bufnr) local cwd = action_state.get_current_picker(prompt_bufnr).cwd - local selection = actions.get_selected_entry() + local selection = action_state.get_selected_entry() if selection == nil then print "[telescope] Nothing currently selected" return