dont reload tabufline if its disabled #2236
This commit is contained in:
parent
682b023fb3
commit
0e27cb4b44
|
@ -97,8 +97,10 @@ autocmd("BufWritePost", {
|
|||
vim.opt.statusline = "%!v:lua.require('nvchad_ui.statusline." .. config.ui.statusline.theme .. "').run()"
|
||||
|
||||
-- tabufline
|
||||
require("plenary.reload").reload_module "nvchad_ui.tabufline.modules"
|
||||
vim.opt.tabline = "%!v:lua.require('nvchad_ui.tabufline.modules').run()"
|
||||
if config.ui.tabufline.enabled then
|
||||
require("plenary.reload").reload_module "nvchad_ui.tabufline.modules"
|
||||
vim.opt.tabline = "%!v:lua.require('nvchad_ui.tabufline.modules').run()"
|
||||
end
|
||||
|
||||
require("base46").load_all_highlights()
|
||||
-- vim.cmd("redraw!")
|
||||
|
|
Loading…
Reference in New Issue