global theme option

This commit is contained in:
siduck76
2021-06-26 08:08:12 +05:30
parent 7758c086e2
commit fc76cb3f52
5 changed files with 18 additions and 12 deletions

View File

@@ -4,13 +4,16 @@ local condition = require("galaxyline.condition")
gl.short_line_list = {" "}
local colors = require "themes/gruvbox"
local global_theme = "themes/" .. vim.g.nvchad_theme
local colors = require(global_theme)
gls.left[1] = {
FirstElement = {
provider = function() return '' end,
highlight = { colors.nord_blue, colors.nord_blue }
},
FirstElement = {
provider = function()
return ""
end,
highlight = {colors.nord_blue, colors.nord_blue}
}
}
gls.left[2] = {