dont reload tabufline if its disabled #2236
This commit is contained in:
parent
682b023fb3
commit
0e27cb4b44
1 changed files with 4 additions and 2 deletions
|
@ -97,8 +97,10 @@ autocmd("BufWritePost", {
|
|||
vim.opt.statusline = "%!v:lua.require('nvchad_ui.statusline." .. config.ui.statusline.theme .. "').run()"
|
||||
|
||||
-- tabufline
|
||||
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 a new issue