-
-
Notifications
You must be signed in to change notification settings - Fork 610
Troubleshooting
You may enable diagnostic logging to $XDG_CACHE_HOME/nvim/nvim-tree.log
. See :help nvim-tree.log
If you are experiencing performance issues please enable profiling.
It is advisable to enable git logging at the same time, as that can be a source of performance problems.
log = {
enable = true,
truncate = true,
types = {
diagnostics = true,
git = true,
profile = true,
watcher = true,
},
},
Please attach $XDG_CACHE_HOME/nvim/nvim-tree.log
if you raise an issue.
If you are using fish as an editor shell (which might be fixed in the future), try set shell=/bin/bash
in your vim config. Alternatively, you can prevent fish from loading interactive configuration in a non-interactive shell.
Huge git repositories may timeout after the default git.timeout
of 400ms. Try increasing that in your setup if you see [git] job timed out
in the logs.
Try manually running the git command (see the logs) in your shell e.g. git --no-optional-locks status --porcelain=v1 --ignored=matching -u
.
Try temporarily disabling git integration by setting git.enable = false
MacOS and some Windows users may enable git's file system monitor daemon to greatly improve performance. See Improve Git monorepo performance with a file system monitor.
Unfortunately this is not available for Linux.
Enable for your repo:
git config core.fsmonitor true
git config core.untrackedcache true