tanvirtin / vgit.nvim

Visual git plugin for Neovim
MIT License
591 stars 11 forks source link

Too many open files #192

Closed fragov closed 2 years ago

fragov commented 2 years ago

Description

After I work for a while on a project I start getting next error:

E5108: Error executing lua .../packer/start/tmux.nvim/lua/tmux/navigation/navigate.lua:37: 
Vim(lua):E5108: Error executing lua Vim:E903: Process failed to start: too many open files: "/usr/local/bin/git"                                                                              
stack traceback:                                                                                                                                                                                                                                                                         
        [C]: in function 'jobstart'                                                                                                                                                                                                                                                      
        ...pack/packer/start/lualine.nvim/lua/lualine/utils/job.lua:9: in function 'start'                                                                                                                                                                                               
        ...rt/lualine.nvim/lua/lualine/components/diff/git_diff.lua:133: in function 'update_git_diff'                                                                                                                                                                                   
        ...rt/lualine.nvim/lua/lualine/components/diff/git_diff.lua:121: in function 'update_diff_args'                                                                                                                                                                                  
        [string ":lua"]:1: in main chunk                                                                                                                                                                                                                                                 
        [C]: in function 'wincmd'                                                                                                                                                                                                                                                        
        .../packer/start/tmux.nvim/lua/tmux/navigation/navigate.lua:37: in function 'to'                                                                                                                                                                                                 
        ...pack/packer/start/tmux.nvim/lua/tmux/navigation/init.lua:18: in function 'move_left'                                                                                                                                                                                          
        [string ":lua"]:1: in main chunk                                                                                                                                                                                                                                                 
stack traceback:                                                                                                                                                                                                                                                                         
        [C]: in function 'wincmd'                                                                                                                                                                                                                                                        
        .../packer/start/tmux.nvim/lua/tmux/navigation/navigate.lua:37: in function 'to'                                                                                                                                                                                                 
        ...pack/packer/start/tmux.nvim/lua/tmux/navigation/init.lua:18: in function 'move_left'                                                                                                                                                                                          
        [string ":lua"]:1: in main chunk 

It doesn't matter if I just change split (like in this example), or I try to use telescope/bnext to jump to another/new buffer, I get this error each time.

NVIM v0.7.0-dev+806-gf86039de1 Build type: ReleaseLuaJIT 2.1.0-beta3Compiled Features: +acl +iconv +tui

MacOs Monterey 12.1 + kitty + tmux

tanvirtin commented 2 years ago

Hey your error logs are indicating an issue with lualine and not VGit. It's probably happening because of this line and line.