Skip to content

Commit

Permalink
fix: rename create_worktree to telescope_create_worktree
Browse files Browse the repository at this point in the history
  • Loading branch information
rbmarliere committed Jul 21, 2024
1 parent cece513 commit eb061e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/telescope/_extensions/git_worktree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ end
-- Create a worktree
-- @param opts table: the options for the telescope picker (optional)
-- @return nil
local create_worktree = function(opts)
local telescope_create_worktree = function(opts)
opts = opts or {}
opts.attach_mappings = function()
actions.select_default:replace(function(prompt_bufnr, _)
Expand Down Expand Up @@ -238,6 +238,6 @@ end
return require('telescope').register_extension {
exports = {
git_worktree = telescope_git_worktree,
create_git_worktree = create_worktree,
create_git_worktree = telescope_create_worktree,
},
}

0 comments on commit eb061e5

Please sign in to comment.