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()"
|
vim.opt.statusline = "%!v:lua.require('nvchad_ui.statusline." .. config.ui.statusline.theme .. "').run()"
|
||||||
|
|
||||||
-- tabufline
|
-- tabufline
|
||||||
|
if config.ui.tabufline.enabled then
|
||||||
require("plenary.reload").reload_module "nvchad_ui.tabufline.modules"
|
require("plenary.reload").reload_module "nvchad_ui.tabufline.modules"
|
||||||
vim.opt.tabline = "%!v:lua.require('nvchad_ui.tabufline.modules').run()"
|
vim.opt.tabline = "%!v:lua.require('nvchad_ui.tabufline.modules').run()"
|
||||||
|
end
|
||||||
|
|
||||||
require("base46").load_all_highlights()
|
require("base46").load_all_highlights()
|
||||||
-- vim.cmd("redraw!")
|
-- vim.cmd("redraw!")
|
||||||
|
Loading…
Reference in New Issue
Block a user