f-person/git-blame.nvim

E5108: Error executing lua Vim:E903: Process failed to start: too many open files: "/opt/homebrew/bin/fish"

Closed this issue · 3 comments

When simply navigating through my config.fish file up and down I eventually get lags and then this error

CleanShot 2023-10-16 at 12 52 10@2x

My fish folder is not git versioned.

Here is my config https://github.com/kapral18/config.nvim/blob/3db8ecb67be6f338cd97bc08f37b0cd2c665958d/lua/plugins/blame.lua#L4

Hi! Does this happen when you use the plugin outside the fish config, as well?

Hi! Does this happen when you use the plugin outside the fish config, as well?

No it actually only happens where there is no .git present

I added

    cond = function()
      return vim.loop.fs_stat(vim.loop.cwd() .. "/.git") or vim.fn.finddir(".git", ";") ~= ""
    end,

to solve the problem for now, but I'd rather have this functionality builtin as with most other plugins, what do you think?