lazygit.nvim
lazygit.nvim copied to clipboard
Launch Lazygit from a folder without git information result in error.
Description Launch Lazygit from a folder without git information (say dashboard or HOME) will result in error, and lazygit float term will be frozen. And I have to restart nvim to get everything work again.
To Reproduce
- Launch neovim.
- Launch Layzygit.
- Error message shows in float term.
Expected behavior
Lazyterm tells me that current working directory is not a valid git repo. And I could still close it by pressing q.
Desktop (please complete the following information):
- nvim --version: NVIM v0.6.0-dev+1518-g02bf251bb Build type: Release LuaJIT 2.1.0-beta3 Compilation: clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -DNDEBUG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/tmp/neovim-20210714-39663-lqn3eb/build/config -I/tmp/neovim-20210714-39663-lqn3eb/src -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/gettext/include -I/tmp/neovim-20210714-39663-lqn3eb/build/src/nvim/auto -I/tmp/neovim-20210714-39663-lqn3eb/build/include 编译者 [email protected]
Features: +acl +iconv +tui See ":help feature-compile"
系统 vimrc 文件: "$VIM/sysinit.vim"
$VIM 预设值: "/usr/local/Cellar/neovim/HEAD-02bf251/share/nvim"
Run :checkhealth for more info