mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +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
|
||||
|
||||
-- check config for theme
|
||||
local set_theme
|
||||
local set_theme = "auto"
|
||||
local bubbles_theme
|
||||
local data_exists, config = pcall(require, "core.config")
|
||||
if data_exists then
|
||||
|
@ -46,7 +46,7 @@ return {
|
|||
colors.blue = clr.green
|
||||
colors.black = clr.black
|
||||
colors.cyan = clr.yellow
|
||||
set_theme = bubbles_theme
|
||||
set_theme = "bubbles_theme"
|
||||
end,
|
||||
default = function()
|
||||
set_theme = "auto"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue