Neogit starts producing errors when calling neogit.open
twice from different pwd
, OR when using a zsh terminal that runs the powerlevel10k
theme
#1385
Labels
bug
Something isn't working
Description
I start getting errors in the following cases:
Neogit
status buffer when it is already open, using theneogit.open
command twice, when thecwd
is not inside the project that my buffer is inNeovim version
v0.10.0
(Neogit:
11dea1b
)Operating system and version
Ubuntu 20.04
Steps to reproduce
Self-variant
$HOME
, runnvim -u minimal.lua
random
, in a random git repo without changing pwd (e.g.:e <path-to-random>
)\gs
(keybind defined below) to call Neogit status for the repo containing the current file's folder.random
3
Shell variant (requires
zsh/powerlevel10k
)<Repeat steps 1-4 above>
5. open a terminal under the new CWD using
:edit term://%:p:h//zsh
6. Error occurs
Expected behavior
No response
Actual behavior
The error trace is as follows:
Tested using
minimal.lua
, and I still get the error. For the shell variant; I do not get the error when I switch tobash
or when I turn my zsh theme off. I assume this has to do with the fact thatpowershell10k
has its own git status overview, which somehow interferes with neogit.Minimal config
The text was updated successfully, but these errors were encountered: