diff options
| author | ChristianChiarulli <[email protected]> | 2022-09-21 11:21:01 -0400 | 
|---|---|---|
| committer | ChristianChiarulli <[email protected]> | 2022-09-21 11:21:01 -0400 | 
| commit | 64615ae626f2932529b236c3c5f99090dbf9faad (patch) | |
| tree | 69754176932bd51651273f4e58a82c16429e4b40 /lua/lvim/core/theme.lua | |
| parent | 03156e42acde5b2e40c5245b8720450a4c5d25ba (diff) | |
fix: always load base theme
Diffstat (limited to 'lua/lvim/core/theme.lua')
| -rw-r--r-- | lua/lvim/core/theme.lua | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/lua/lvim/core/theme.lua b/lua/lvim/core/theme.lua index ad3c84cd..886045c9 100644 --- a/lua/lvim/core/theme.lua +++ b/lua/lvim/core/theme.lua @@ -40,6 +40,12 @@ M.config = function()        use_background = true, -- can be light/dark/auto. When auto, background will be set to vim.o.background      },    } +  local status_ok, theme = pcall(require, "tokyonight") +  if not status_ok then +    return +  end + +  theme.setup(lvim.builtin.theme.options)  end  M.setup = function() | 
