diff --git a/dots/.nvim-environments/primary/config/lua/core/theme.lua b/dots/.nvim-environments/primary/config/lua/core/theme.lua index 81ccfd91..c51c38df 100755 --- a/dots/.nvim-environments/primary/config/lua/core/theme.lua +++ b/dots/.nvim-environments/primary/config/lua/core/theme.lua @@ -7,7 +7,7 @@ M.setup = function() vim.g.tokyonight_transparent_sidebar = true local colorscheme_name = "kanagawa" - local loaded, _ = pcall(vim.cmd, "colorscheme " .. colorscheme_name) + local loaded, _ = pcall(vim.cmd.colorscheme, colorscheme_name) if not loaded then vim.notify('Colorscheme "' .. colorscheme_name .. '" could not be loaded!', vim.lsp.log_levels.WARN, {