fix: actions.git_checkout_current_buffer calling deprecated method (#1439)
This commit is contained in:
@@ -590,7 +590,7 @@ end
|
|||||||
|
|
||||||
actions.git_checkout_current_buffer = function(prompt_bufnr)
|
actions.git_checkout_current_buffer = function(prompt_bufnr)
|
||||||
local cwd = action_state.get_current_picker(prompt_bufnr).cwd
|
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
|
if selection == nil then
|
||||||
print "[telescope] Nothing currently selected"
|
print "[telescope] Nothing currently selected"
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user