From 1488deebc714d66427fe0b55e6b9df0a0db97df4 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sat, 19 Mar 2022 13:55:34 +0100 Subject: refactor: load onedarker theme externally (#2359) --- lua/lvim/plugin-loader.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lua/lvim/plugin-loader.lua') diff --git a/lua/lvim/plugin-loader.lua b/lua/lvim/plugin-loader.lua index 0fbe9971..a017b9b1 100644 --- a/lua/lvim/plugin-loader.lua +++ b/lua/lvim/plugin-loader.lua @@ -93,10 +93,6 @@ function plugin_loader.load(configurations) Log:warn "problems detected while loading plugins' configurations" Log:trace(debug.traceback()) 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 function plugin_loader.get_core_plugins() -- cgit v1.2.3 From c958e4b3ae6858ef6770333e21ab389ded60b400 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sun, 20 Mar 2022 11:47:08 +0100 Subject: fix: automatically set colorscheme (#2370) --- lua/lvim/plugin-loader.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua/lvim/plugin-loader.lua') 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" -- cgit v1.2.3