ThePrimeagen / git-worktree.nvim

698 stars 120 forks source link

No worktrees with Telescope 0.1.6 #122

Open jorgevds opened 4 months ago

jorgevds commented 4 months ago

Hello friends,

Friendly PSA that updating Telescope to 0.1.6 broke my install of this plugin. For some reason calling

:lua require('telescope').extensions.git_worktree.git_worktrees()

opens a Telescope window with no worktrees, even though worktrees exist in the repo. This issue persists through creating new worktrees.

Rolling Telescope back to 0.1.5 fixed this issue.

cesarFuhr commented 4 months ago

I had the same issue, I observed this warning message:

[telescope] [WARN  18:08:04] /home/xxxxx/.local/share/nvim/site/pack/packer/start/telescope.nvim/lua/telescope/pickers.lua:669: Finder failed with
 msg:  ...tart/telescope.nvim/lua/telescope/pickers/highlights.lua:33: Expected lua string
cesarFuhr commented 4 months ago

I have a PR up with a fix that worked for me: https://github.com/ThePrimeagen/git-worktree.nvim/pull/123

awerebea commented 4 months ago

This is also fixed by PR #124 in a slightly different way, with fewer code changes.

lpanebr commented 3 months ago

This is also fixed by PR #124 in a slightly different way, with fewer code changes.

Thanks! This works!!!

svartkanin commented 2 months ago

Fixed it for me as well, would be good to get it merged

luqasz commented 1 month ago

Is this repo still alive ?

theIbraDev commented 1 month ago

Is this repo still alive ?

Dead, i would reccomend using a fork that implements some of the pr's here.

Edit: Polarmutex finally finished his new V2 version. I would look at it here: https://github.com/polarmutex/git-worktree.nvim