feat(watcher): add filesystem_watchers.ignore_dirs#1705
Conversation
|
I would be very grateful if you could test:
|
|
@alex-courtis Sorry for late test until this weekend. With Attach the complete test configuration for nvim here: let $DotVimDir=resolve(expand('<sfile>:p:h'))
set rtp^=$DotVimDir
call plug#begin($DotVimDir.'/bundle')
Plug 'kyazdani42/nvim-tree.lua'
call plug#end()
lua << EOF
local tcb = require('nvim-tree.config').nvim_tree_callback
require('nvim-tree').setup{
auto_reload_on_write = false,
log = {
enable = true,
truncate = true,
types = {
all = false,
config = false,
copy_paste = false,
dev = false,
diagnostics = false,
git = true,
profile = true,
watcher = true,
},
},
filesystem_watchers = {
enable = true,
ignore_dirs = { "CMakeFiles" },
},
diagnostics = { enable = false },
git = { enable = false },
}
EOFBy the way, does this PR has the feature |
|
Many thanks for all your testing @yehuohan
There was a bug with the message on teardown: #1726 which prevented the actual teardown. Perhaps that was the cause of the unnecessary memory usage. I would be very grateful if you pull latest and try again. |
|
I tested with the latest nvim-tree.lua without |
Fantastic! Many thanks. |

#1606
Add
filesystem_watchers.ignore_dirs.Tested:
\\.