diff --git a/lua/core/init.lua b/lua/core/init.lua index c33320a..bf9e225 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -97,7 +97,7 @@ autocmd("BufWritePost", { -- tabufline if config.ui.tabufline.enabled then require("plenary.reload").reload_module "nvchad.tabufline.modules" - vim.opt.tabline = "%!v:lua.require('nvchad.tabufline.modules').run()" + vim.opt.tabline = "%!v:lua.require('nvchad.tabufline.modules')()" end require("base46").load_all_highlights() diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index cb1a279..ba80b4f 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -35,11 +35,11 @@ map("n", "q", vim.diagnostic.setloclist, { desc = "Lsp diagnostic loclis map("n", "b", "enew", { desc = "Buffer New" }) map("n", "", function() - require("nvchad.tabufline").tabuflineNext() + require("nvchad.tabufline").next() end, { desc = "Buffer Goto next" }) map("n", "", function() - require("nvchad.tabufline").tabuflinePrev() + require("nvchad.tabufline").prev() end, { desc = "Buffer Goto prev" }) map("n", "x", function() diff --git a/lua/nvconfig.lua b/lua/nvconfig.lua index 32112ae..1873227 100644 --- a/lua/nvconfig.lua +++ b/lua/nvconfig.lua @@ -32,15 +32,15 @@ M.ui = { separator_style = "default", order = nil, - modules = nil, + modules = {}, }, -- lazyload it when there are 1+ buffers tabufline = { - show_numbers = false, enabled = true, lazyload = true, - overriden_modules = nil, + order = { "treeOffset", "buffers", "tabs", "btns" }, + modules = {}, }, -- nvdash (dashboard)