mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
add: tidy up the code, more modular
This commit is contained in:
parent
1f424a1225
commit
875631fc4e
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ return {
|
||||||
local colors = component.colors
|
local colors = component.colors
|
||||||
|
|
||||||
-- check config for theme
|
-- check config for theme
|
||||||
local set_theme
|
local set_theme = "auto"
|
||||||
local bubbles_theme
|
local bubbles_theme
|
||||||
local data_exists, config = pcall(require, "core.config")
|
local data_exists, config = pcall(require, "core.config")
|
||||||
if data_exists then
|
if data_exists then
|
||||||
|
@ -46,7 +46,7 @@ return {
|
||||||
colors.blue = clr.green
|
colors.blue = clr.green
|
||||||
colors.black = clr.black
|
colors.black = clr.black
|
||||||
colors.cyan = clr.yellow
|
colors.cyan = clr.yellow
|
||||||
set_theme = bubbles_theme
|
set_theme = "bubbles_theme"
|
||||||
end,
|
end,
|
||||||
default = function()
|
default = function()
|
||||||
set_theme = "auto"
|
set_theme = "auto"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue