diff options
author | chaeing <[email protected]> | 2021-08-23 23:49:18 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-24 11:19:18 +0430 |
commit | 378c1c3eb5f32da7057371fedda405250ccb67c8 (patch) | |
tree | eec13a5239aae455f4794aa3e8373e2fb2d2980b /lua/core/lualine/utils.lua | |
parent | 101c6834333ffb06856155054ea77747819ef5fc (diff) |
[Feature] enhance lualine config (#1372)
Diffstat (limited to 'lua/core/lualine/utils.lua')
-rw-r--r-- | lua/core/lualine/utils.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/core/lualine/utils.lua b/lua/core/lualine/utils.lua index f2f29592..cf80a99e 100644 --- a/lua/core/lualine/utils.lua +++ b/lua/core/lualine/utils.lua @@ -2,6 +2,9 @@ local M = {} function M.validate_theme() local theme = lvim.builtin.lualine.options.theme + if type(theme) == "table" then + return + end local lualine_loader = require "lualine.utils.loader" local ok = pcall(lualine_loader.load_theme, theme) |