make tabufline reloadable
This commit is contained in:
parent
f18488d41c
commit
682b023fb3
2 changed files with 4 additions and 1 deletions
|
@ -96,6 +96,10 @@ autocmd("BufWritePost", {
|
|||
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()"
|
||||
|
||||
-- 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()
|
||||
-- vim.cmd("redraw!")
|
||||
end,
|
||||
|
|
|
@ -230,7 +230,6 @@ local default_plugins = {
|
|||
config = function(_, opts)
|
||||
dofile(vim.g.base46_cache .. "nvimtree")
|
||||
require("nvim-tree").setup(opts)
|
||||
vim.g.nvimtree_side = opts.view.side
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue