summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/actions/init.lua2
1 files changed, 1 insertions, 1 deletions
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