diff options
author | CPea <[email protected]> | 2022-10-09 05:50:25 +0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-08 22:50:25 +0000 |
commit | 8763ed28782a6196d2594016b44dcc9d1aa1b5c6 (patch) | |
tree | 656ac137e038f2d37f3a19d35b2fbe03136cca3e /lua/lvim/plugin-loader.lua | |
parent | 5699a5e5573b0766a37b7f115bc49efd52a00822 (diff) |
feat: warn user when setting un-installed colorscheme (#2982)
Diffstat (limited to 'lua/lvim/plugin-loader.lua')
-rw-r--r-- | lua/lvim/plugin-loader.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lua/lvim/plugin-loader.lua b/lua/lvim/plugin-loader.lua index d09c722b..392d3ceb 100644 --- a/lua/lvim/plugin-loader.lua +++ b/lua/lvim/plugin-loader.lua @@ -106,10 +106,8 @@ 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" Log:trace(debug.traceback()) |