mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-03 17:45:52 +02:00
toggle() already follows the file, no need for find_file() (#1020)
This commit is contained in:
parent
047f641b05
commit
e50a586a3a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue