Skip to content

[auto-close bug] nvim quits when switching branches with the git-worktree plugin #871

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lpanebr opened this issue Dec 25, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@lpanebr
Copy link

lpanebr commented Dec 25, 2021

OS
Ubuntu 20.04

Neovim version

NVIM v0.7.0-dev+674-g24f9463dd
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by root@cortex

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Nvim-tree version
* 0a2f6b0 kiyan: fix(dirchange): do not change dir when switching windows - (grafted, HEAD -> master, origin/master, origin/HEAD) (14 hours ago)

Describe the bug
nvim quits when switching branches with the ThePrimeagen/git-worktree.nvim plugin.[1]
[1] https://github.com/ThePrimeagen/git-worktree.nvim

To Reproduce

1. have nvim-tree installed
2. install nvim-telescope/telescope.nvim
3. install ThePrimeagen/git-worktree.nvim
4. configure a project for working with worktrees and try switching branches

Expected behavior
nvim should not exit.

@kyazdani42
Copy link
Member

Hi ! do you have the auto_close option activated ?

@lpanebr
Copy link
Author

lpanebr commented Feb 7, 2022

yes, I do. I'll try changing to false.

@lpanebr
Copy link
Author

lpanebr commented Feb 7, 2022

it works. Thanks!

@kyazdani42 kyazdani42 changed the title nvim quits when switching branches with the git-worktree plugin [auto-close bug] nvim quits when switching branches with the git-worktree plugin Feb 7, 2022
@kyazdani42 kyazdani42 added the bug Something isn't working label Feb 21, 2022
Almo7aya pushed a commit to Almo7aya/nvim-tree.lua that referenced this issue Oct 11, 2022
also fix emmylua errors in log.lua file
fixes nvim-tree#1005
fixes nvim-tree#871
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants