Open cxwx opened 1 month ago
What's your current limits
?
I'm uncertain if it pertains specifically to this plugin.
I encountered similar issues with other plugins, such as git-integrated, but resolved them by increasing my limits
in my NixOS config: https://github.com/mortymacs/dotfiles/blob/main/nixos/common/misc.nix#L12
I'v got a error like Process failed to start: too many open files: "/opt/homebrew/bin/git"
too in few days ago.
In my macOS environment, following instruction fixed that error.
sudo vi /Library/LaunchDaemons/limit.maxfiles.plist
.
Write following code to the files.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>limit.maxfiles</string>
<key>ProgramArguments</key>
<array>
<string>launchctl</string>
<string>limit</string>
<string>maxfiles</string>
<string>524288</string>
<string>524288</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceIPC</key>
<false/>
</dict>
</plist>
Reboot your mac.
when using nvim-lspconfig clangd, lsp-lens together go to definition jump to another file after lspconfig jump to the right one. then press to go back,
cause.
remove lsp-lens, lspconfig works fine
Is anyone has the same issues?