mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2025-01-09 23:17:38 +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,
|
lazy = false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"https://github.com/ViViDboarder/wombuddy.nvim",
|
|
||||||
dependencies = { { "https://github.com/tjdevries/colorbuddy.vim" } },
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"https://github.com/ishan9299/nvim-solarized-lua",
|
"https://github.com/ishan9299/nvim-solarized-lua",
|
||||||
commit = utils.map_version_rule({
|
commit = utils.map_version_rule({
|
||||||
|
@ -49,10 +49,16 @@ M.csv_col = {
|
|||||||
-- Configure lualine witha provided theme
|
-- Configure lualine witha provided theme
|
||||||
function M.config_lualine(theme_name)
|
function M.config_lualine(theme_name)
|
||||||
-- Theme name transformations
|
-- Theme name transformations
|
||||||
|
--
|
||||||
if theme_name == nil then
|
if theme_name == nil then
|
||||||
theme_name = "auto"
|
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
|
end
|
||||||
|
|
||||||
-- navic
|
-- navic
|
||||||
|
Loading…
Reference in New Issue
Block a user