diff options
author | Abouzar Parvan <[email protected]> | 2022-03-25 17:09:06 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2022-03-25 17:09:06 +0430 |
commit | 9e13e1e4fe042ba1154b5d172cb33de94936bb88 (patch) | |
tree | ebe4ce33acf730b8db3b50d7ea3384546572030b /lua/lvim | |
parent | 08d3df2cd3515878309906c2791d1b934425d78f (diff) |
fix(theme): make sure the new theme is fully loaded (#2392)
Diffstat (limited to 'lua/lvim')
-rw-r--r-- | lua/lvim/plugin-loader.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/lvim/plugin-loader.lua b/lua/lvim/plugin-loader.lua index 1b91cdf4..7612bc37 100644 --- a/lua/lvim/plugin-loader.lua +++ b/lua/lvim/plugin-loader.lua @@ -99,6 +99,9 @@ function plugin_loader.load(configurations) end end end) + -- colorscheme must get called after plugins are loaded or it will break new installs. + vim.g.colors_name = lvim.colorscheme + vim.cmd("colorscheme " .. lvim.colorscheme) end, debug.traceback) if not status_ok then Log:warn "problems detected while loading plugins' configurations" |