diff options
| author | CPea <[email protected]> | 2022-10-24 15:01:19 +0700 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-24 10:01:19 +0200 | 
| commit | 49ba3d538e622311c21adc1d785888bd1d06275e (patch) | |
| tree | 7fc6873c843a180e89b0f7a2ae8fe3be6ab1b469 /lua/lvim/core/theme.lua | |
| parent | 25c4241b07d2036fc5d0d4c18be43a16a5370ef0 (diff) | |
fix(theme): do not fallback to tokyonight if no user's theme found (#3327)
Diffstat (limited to 'lua/lvim/core/theme.lua')
| -rw-r--r-- | lua/lvim/core/theme.lua | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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 | 
