diff options
| author | srdusr <trevorgray@srdusr.com> | 2024-01-16 22:47:29 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2024-01-16 22:47:29 +0200 |
| commit | ab9469df6b83768278e6724599131aeed3afe11e (patch) | |
| tree | 02b52f7058beb623cd81291c342396d7aaa7eb0b /lua/plugins | |
| parent | cad1eccc2ea4633a3f9236755727fea7351377d5 (diff) | |
| download | dotfiles-ab9469df6b83768278e6724599131aeed3afe11e.tar.gz dotfiles-ab9469df6b83768278e6724599131aeed3afe11e.zip | |
Troubleshooting tree taking long to load
Diffstat (limited to 'lua/plugins')
| -rw-r--r-- | lua/plugins/nvim-tree.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/plugins/nvim-tree.lua b/lua/plugins/nvim-tree.lua index f82a327..902a278 100644 --- a/lua/plugins/nvim-tree.lua +++ b/lua/plugins/nvim-tree.lua @@ -207,6 +207,11 @@ require('nvim-tree').setup({ --respect_buf_cwd = false, sync_root_with_cwd = true, --reload_on_bufenter = false, + filesystem_watchers = { + enable = true, + debounce_delay = 50, + ignore_dirs = { 'node_modules' }, + }, view = view, system_open = system_open, renderer = renderer, @@ -214,6 +219,16 @@ require('nvim-tree').setup({ notify = { threshold = vim.log.levels.ERROR, }, + log = { + enable = true, + truncate = true, + types = { + diagnostics = true, + git = true, + profile = true, + watcher = true, + }, + }, git = { ignore = false }, diagnostics = { enable = true, |
