toggle() already follows the file, no need for find_file() (#1020)

This commit is contained in:
Abouzar Parvan 2021-07-19 11:47:49 +04:30 committed by GitHub
parent 047f641b05
commit e50a586a3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ M.toggle_tree = function()
-- require'bufferline.state'.set_offset(31, 'File Explorer')
require("bufferline.state").set_offset(31, "")
end
require("nvim-tree").find_file(true)
require("nvim-tree").toggle()
end
end
--