fix do not update on save when window is closed

This commit is contained in:
kiyan42
2020-06-01 20:15:55 +02:00
parent 69880f2e40
commit 870d60ec54
2 changed files with 7 additions and 4 deletions

View File

@@ -83,7 +83,6 @@ local function is_file_readable(fname)
end
local function find_file()
if not tree.win_open() then return end
local bufname = api.nvim_buf_get_name(api.nvim_get_current_buf())
if not is_file_readable(bufname) then return end