diff options
author | kylo252 <[email protected]> | 2022-03-20 11:47:08 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-03-20 14:17:08 +0330 |
commit | c958e4b3ae6858ef6770333e21ab389ded60b400 (patch) | |
tree | d980c4f11d9f9623f0cf20da5109e55000e3b730 | |
parent | c946ddda812c5c2d217061a9016eb8001970d659 (diff) |
fix: automatically set colorscheme (#2370)
-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 a017b9b1..5208d5bf 100644 --- a/lua/lvim/plugin-loader.lua +++ b/lua/lvim/plugin-loader.lua @@ -88,6 +88,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" |