Remove wombuddy and update lualine to find wombat themes

This commit is contained in:
ViViDboarder 2025-01-08 15:08:52 -08:00
parent 243856fe4a
commit 9680b0d4a6
2 changed files with 8 additions and 6 deletions

View File

@ -19,10 +19,6 @@ return {
},
lazy = false,
},
{
"https://github.com/ViViDboarder/wombuddy.nvim",
dependencies = { { "https://github.com/tjdevries/colorbuddy.vim" } },
},
{
"https://github.com/ishan9299/nvim-solarized-lua",
commit = utils.map_version_rule({

View File

@ -49,10 +49,16 @@ M.csv_col = {
-- Configure lualine witha provided theme
function M.config_lualine(theme_name)
-- Theme name transformations
--
if theme_name == nil then
theme_name = "auto"
elseif theme_name:find("wombat") or theme_name == "wombuddy" then
theme_name = "wombat"
if vim.g.colors_name:find("wombat") ~= nil then
-- NOTE: This helps make sure wombat variants work with lualine, however it pins
-- the theme to wombat if attempting to change it after lualine is loaded. This
-- can be reset using `:lua require('plugins.lualine').config_lualine()`
theme_name = "wombat"
end
end
-- navic