aboutsummaryrefslogtreecommitdiff
path: root/lua/colorschemes.lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2023-08-27 23:13:42 +0200
committerjdhao <jdhao@hotmail.com>2023-08-27 23:14:31 +0200
commit1391ca7ff153636476bae6ffbf16aec076e2d191 (patch)
tree9739034aef482a2123514fc049bc91210a4beb5b /lua/colorschemes.lua
parent6a6f8ff5974447fd452f5d8bf20dd090dfdd8ec9 (diff)
feat: switch from packer.nvim to lazy.nvim
Diffstat (limited to 'lua/colorschemes.lua')
-rw-r--r--lua/colorschemes.lua10
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]()