diff --git a/lua/user/bufferline.lua b/lua/user/bufferline.lua index 9731a56..9c2b51d 100644 --- a/lua/user/bufferline.lua +++ b/lua/user/bufferline.lua @@ -31,11 +31,11 @@ bufferline.setup({ numbers = "none", -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string, --close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions" close_command = function(bufnum) - require('bufdelete').bufdelete(bufnum, true) + require("bufdelete").bufdelete(bufnum, true) end, --right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions" right_mouse_command = function(bufnum) - require('bufdelete').bufdelete(bufnum, true) + require("bufdelete").bufdelete(bufnum, true) end, left_mouse_command = "buffer %d", -- can be a string | function, see "Mouse actions" middle_mouse_command = nil, -- can be a string | function, see "Mouse actions" @@ -91,14 +91,14 @@ bufferline.setup({ -- return true -- end -- end, - offsets = { { - filetype = "NvimTree", - text = function() - return vim.fn.getcwd() - end, - highlight = "Directory", - text_align = "left", - padding = 1 } + offsets = { + { + filetype = "NvimTree", + text = "Explorer", + highlight = "Directory", + text_align = "left", + padding = 1, + }, }, show_buffer_icons = true, show_buffer_close_icons = true, diff --git a/lua/user/nvim-tree.lua b/lua/user/nvim-tree.lua index 6e5cba1..f6c5835 100644 --- a/lua/user/nvim-tree.lua +++ b/lua/user/nvim-tree.lua @@ -74,7 +74,7 @@ nvim_tree.setup({ }, view = { width = 30, - hide_root_folder = true, + hide_root_folder = false, side = "left", mappings = { list = {