Added a new option auto_reload_on_write to allow users to disable it for performance reasons (#956)

This commit is contained in:
Steve Vermeulen
2022-02-09 20:06:07 +00:00
committed by GitHub
parent 5744c469a6
commit 4ec8c9f364
3 changed files with 40 additions and 30 deletions

View File

@@ -40,15 +40,16 @@ Note that options under the `g:` command should be set **BEFORE** running the se
-- following options are the default
-- each of these are documented in `:help nvim-tree.OPTION_NAME`
require'nvim-tree'.setup {
disable_netrw = true,
hijack_netrw = true,
open_on_setup = false,
ignore_ft_on_setup = {},
auto_close = false,
open_on_tab = false,
hijack_cursor = false,
update_cwd = false,
update_to_buf_dir = {
disable_netrw = true,
hijack_netrw = true,
open_on_setup = false,
ignore_ft_on_setup = {},
auto_close = false,
auto_reload_on_write = true,
open_on_tab = false,
hijack_cursor = false,
update_cwd = false,
update_to_buf_dir = {
enable = true,
auto_open = true,
},