kdheepak / lazygit.nvim

Plugin for calling lazygit from within neovim.
MIT License
1.43k stars 53 forks source link

Window closed immediately (Telescope Plugin) #60

Open n3wborn opened 2 years ago

n3wborn commented 2 years ago

Once I choose which tracked project to open into Telescope plugin, this error occurs

image

There's no problem if I open lazygit using LazyGit only, which seems to happen only once the choice is made.

My config is really simple :

I just require('telescope').load_extension('lazygit') after all (I also added an autocmd using last autocmd api to check projects root).

This bug occurs 2 days ago and I didn't change anything in lazygit/Telescope config so I assume this may be related to last nvim commits

Expected behavior

Once I choose which tracked project to open with LazyGit, I see LazyGit window opened

Sorry, I know this bug report is quite messy. I hope it will help though.

kdheepak commented 2 years ago

Thanks for opening an issue. Maybe something un telescope has changed? I can try to look into it over the weekend.

n3wborn commented 2 years ago

I found the guilty ~> https://github.com/nvim-telescope/telescope.nvim/commit/4681dcdffe20e1f23b6b9ccf28836537ed166c47

Everything is ok when I git checkout the commit before

n3wborn commented 2 years ago

Any news about this ?

kdheepak commented 2 years ago

I’m sorry, I’ve been swamped with personal obligations and probably won’t be able to look into this for maybe a couple of months. Happy to review a PR maybe.