diff options
author | Abouzar Parvan <[email protected]> | 2021-09-26 21:11:44 +0330 |
---|---|---|
committer | GitHub <[email protected]> | 2021-09-26 21:11:44 +0330 |
commit | 238bbf18ac4e35152be06736c75e94a81e3382e8 (patch) | |
tree | 35d0a55cadd930d123a68a4a274bb547a023ca70 | |
parent | 62b805448d1fdb9236ee6b4da41e3d7ef1acc8df (diff) |
fix small bugs in nvim-tree (#1629)
-rw-r--r-- | lua/core/nvimtree.lua | 4 | ||||
-rw-r--r-- | utils/installer/config.example-no-ts.lua | 2 | ||||
-rw-r--r-- | utils/installer/config.example.lua | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lua/core/nvimtree.lua b/lua/core/nvimtree.lua index db017fd0..8d3b1b6a 100644 --- a/lua/core/nvimtree.lua +++ b/lua/core/nvimtree.lua @@ -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 diff --git a/utils/installer/config.example-no-ts.lua b/utils/installer/config.example-no-ts.lua index f064f306..17bb0217 100644 --- a/utils/installer/config.example-no-ts.lua +++ b/utils/installer/config.example-no-ts.lua @@ -43,7 +43,7 @@ lvim.keys.normal_mode["<C-s>"] = ":w<cr>" -- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile lvim.builtin.dashboard.active = true lvim.builtin.terminal.active = true -lvim.builtin.nvimtree.side = "left" +lvim.builtin.nvimtree.setup.view.side = "left" lvim.builtin.nvimtree.show_icons.git = 0 -- if you don't want all the parsers change this to a table of the ones you want diff --git a/utils/installer/config.example.lua b/utils/installer/config.example.lua index 21a5beac..08a7f3ed 100644 --- a/utils/installer/config.example.lua +++ b/utils/installer/config.example.lua @@ -51,7 +51,7 @@ lvim.keys.normal_mode["<C-s>"] = ":w<cr>" -- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile lvim.builtin.dashboard.active = true lvim.builtin.terminal.active = true -lvim.builtin.nvimtree.side = "left" +lvim.builtin.nvimtree.setup.view.side = "left" lvim.builtin.nvimtree.show_icons.git = 0 -- if you don't want all the parsers change this to a table of the ones you want |