From 49ba3d538e622311c21adc1d785888bd1d06275e Mon Sep 17 00:00:00 2001 From: CPea <42694704+cpea2506@users.noreply.github.com> Date: Mon, 24 Oct 2022 15:01:19 +0700 Subject: fix(theme): do not fallback to tokyonight if no user's theme found (#3327) --- lua/lvim/core/theme.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/lvim/core/theme.lua') diff --git a/lua/lvim/core/theme.lua b/lua/lvim/core/theme.lua index 0f960d3d..efe2b404 100644 --- a/lua/lvim/core/theme.lua +++ b/lua/lvim/core/theme.lua @@ -99,8 +99,8 @@ M.setup = function() -- ref: https://github.com/neovim/neovim/issues/18201#issuecomment-1104754564 local colors = vim.api.nvim_get_runtime_file(("colors/%s.*"):format(lvim.colorscheme), false) if #colors == 0 then - Log:warn(string.format("Could not find '%s' colorscheme", lvim.colorscheme)) - lvim.colorscheme = "tokyonight" + Log:debug(string.format("Could not find '%s' colorscheme", lvim.colorscheme)) + return end vim.g.colors_name = lvim.colorscheme -- cgit v1.2.3