-
Notifications
You must be signed in to change notification settings - Fork 33
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
E903: Process failed to start: too many open files: "/bin/zsh" #12
Comments
I'm on holidays right now, I'll be able to check it next week. It might be an issue caused by a newest nvim version |
Okey I'm back. It looks like you are hitting your OS file limit. I'm not sure exactly why as I can't reproduce it with the same setup. Plugin uses two buffers to make the animation smooth - it shows the first one, updates the second and only after 2nd is ready it swaps them (and repeats that for ever). My best guess is that you have specific BufEnter or BugWinEnter auto command defined (or one of your other plugins has) that does something expensive (and opens some file in the process). Animations swaps buffers 20 times per second, so it might stack up. Do you have nvim-lualine plugin installed? I see related issue in their repo, apparently they run some git commands on BufEnter events: nvim-lualine/lualine.nvim#699 |
@Eandrju Sorry I missed updating you in time, yes it is a BufEnter. Is there a way I can disable it just for this plugin? I can't disable the BufEnter entirely for all of my nvim usage. I don't use nvim-lualine, it's my own auto command definition. |
Unfortunately, AFAIK nvim API doesn't yet support disabling autocmds for buffer swapping. There is a noautocmd option for opening a window, but not for setting the buffer. |
When I run it, I do see it work but then it opens this error at the bottom:
machine: macOS 13.1 Ventura
nvim --version:
The text was updated successfully, but these errors were encountered: