diff options
| author | hungpt2702 <49029378+hungpt2702@users.noreply.github.com> | 2021-11-10 20:18:02 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-10 14:18:02 +0100 |
| commit | f3ef5920725d719ed23195a457a86015826d3e1d (patch) | |
| tree | 60840578077ee609c0b28915d2dfc17d45b4cb67 /lua | |
| parent | e4ab6d28448747e7b0f922f5b8d2dbd63c24c176 (diff) | |
fix: actions.git_checkout_current_buffer calling deprecated method (#1439)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/actions/init.lua | 2 |
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 |
