make tabufline reloadable
This commit is contained in:
parent
f18488d41c
commit
682b023fb3
|
@ -96,6 +96,10 @@ autocmd("BufWritePost", {
|
||||||
require("plenary.reload").reload_module("nvchad_ui.statusline." .. config.ui.statusline.theme)
|
require("plenary.reload").reload_module("nvchad_ui.statusline." .. config.ui.statusline.theme)
|
||||||
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
|
||||||
|
require("plenary.reload").reload_module "nvchad_ui.tabufline.modules"
|
||||||
|
vim.opt.tabline = "%!v:lua.require('nvchad_ui.tabufline.modules').run()"
|
||||||
|
|
||||||
require("base46").load_all_highlights()
|
require("base46").load_all_highlights()
|
||||||
-- vim.cmd("redraw!")
|
-- vim.cmd("redraw!")
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -230,7 +230,6 @@ local default_plugins = {
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
dofile(vim.g.base46_cache .. "nvimtree")
|
dofile(vim.g.base46_cache .. "nvimtree")
|
||||||
require("nvim-tree").setup(opts)
|
require("nvim-tree").setup(opts)
|
||||||
vim.g.nvimtree_side = opts.view.side
|
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue