nvim-tree / nvim-tree.lua

A file explorer tree for neovim written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in Windows when neovim running in git bash

dragove opened this issue · comments

In windows, when neovim is running in git bash. nvim-tree encountered an error:

Error executing vim.schedule lua callback: ...\packer\start\nvim-tree.lua/lua/nvim-tree/git/runner.lua:55: attempt to index upvalue 'handle' (a nil value)
stack traceback:
        ...\packer\start\nvim-tree.lua/lua/nvim-tree/git/runner.lua:55: in function 'on_finish'
        ...\packer\start\nvim-tree.lua/lua/nvim-tree/git/runner.lua:74: in function 'cb'
        vim.lua:285: in function <vim.lua:285>

same issue #814

same issue #814

I don't know if it is really same. I encountered this problem in git-bash in widows system without a .git folder. However it runs well in powershell/cmd. And it also runs well in my Linux Environment

same issue #814

I don't know if it is really same. I encountered this problem in git-bash in widows system without a .git folder. However it runs well in powershell/cmd. And it also runs well in my Linux Environment

I am on Linux, and had this issue only when .git exists.

I'm running PowerShell on Windows Terminal and I'm having the same problem, specifically with .git folders.

commented

Mmh i rewrote the git implementation, it's running with libuv jobs now.
I do not have a windows environment to debug this properly, maybe someone could help fixing this ?

commented

Might be fixed, but maybe not. Can you confirm ?

Might be fixed, but maybe not. Can you confirm ?

It's fixed! Thanks.