mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 07:09:23 +02:00
fix small bugs in nvim-tree (#1629)
This commit is contained in:
parent
62b805448d
commit
238bbf18ac
3 changed files with 4 additions and 4 deletions
|
@ -110,8 +110,8 @@ function M.setup()
|
|||
end
|
||||
|
||||
function M.on_open()
|
||||
if package.loaded["bufferline.state"] and lvim.builtin.nvimtree.side == "left" then
|
||||
require("bufferline.state").set_offset(lvim.builtin.nvimtree.width + 1, "")
|
||||
if package.loaded["bufferline.state"] and lvim.builtin.nvimtree.setup.view.side == "left" then
|
||||
require("bufferline.state").set_offset(lvim.builtin.nvimtree.setup.view.width + 1, "")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue