diff options
Diffstat (limited to 'lua/colorschemes.lua')
| -rw-r--r-- | lua/colorschemes.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lua/colorschemes.lua b/lua/colorschemes.lua index 46545b3..1395501 100644 --- a/lua/colorschemes.lua +++ b/lua/colorschemes.lua @@ -129,16 +129,6 @@ M.rand_colorscheme = function() return end - -- Load the colorscheme, because all the colorschemes are declared as opt plugins, so the colorscheme isn't loaded yet. - local status = utils.add_pack(M.colorscheme2dir[colorscheme]) - - if not status then - local msg = string.format("Colorscheme %s is not installed. Run PackerSync to install.", colorscheme) - vim.notify(msg, vim.log.levels.ERROR, { title = "nvim-config" }) - - return - end - -- Load the colorscheme and its settings M[colorscheme]() |
