summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/core/nvimtree.lua4
-rw-r--r--utils/installer/config.example-no-ts.lua2
-rw-r--r--utils/installer/config.example.lua2
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