We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ed7c9 commit b4ef5e0Copy full SHA for b4ef5e0
lua/nvim-tree.lua
@@ -479,8 +479,7 @@ local function setup_autocommands(opts)
479
end
480
481
if opts.modified.enable then
482
- -- TODO: :wq doesn't update properly
483
- create_nvim_tree_autocmd("BufModifiedSet", {
+ create_nvim_tree_autocmd({ "BufModifiedSet", "BufWritePost" }, {
484
callback = function()
485
utils.debounce("BufModifiedSet:modified_files", opts.modified.debounce_delay, function()
486
modified.reload()
0 commit comments