Skip to content

Commit

Permalink
fix: Don't close the prompt in switch_worktree
Browse files Browse the repository at this point in the history
  • Loading branch information
rbmarliere committed Sep 19, 2024
1 parent fe4c077 commit f445fb8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/telescope/_extensions/git_worktree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ end
-- @return nil
local switch_worktree = function(prompt_bufnr)
local worktree_path = get_worktree_path(prompt_bufnr)
actions.close(prompt_bufnr)
if worktree_path == nil then
vim.print('No worktree selected')
return
Expand Down

0 comments on commit f445fb8

Please sign in to comment.