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

@@ -1,6 +1,7 @@
local cmd = vim.cmd
local colors = require "themes/gruvbox"
local global_theme = "themes/"..vim.g.nvchad_theme
local colors = require(global_theme)
local white = colors.white
local darker_black = colors.darker_black