mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2025-01-09 23:07:36 +00:00
Remove wombuddy and update lualine to find wombat themes
This commit is contained in:
parent
243856fe4a
commit
9680b0d4a6
@ -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({
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user