mirror of
https://github.com/gabehf/base46.git
synced 2026-03-11 08:20:54 -07:00
let users use base_30 colors without importing it
This commit is contained in:
parent
2e925ef039
commit
897c90cc79
2 changed files with 18 additions and 16 deletions
|
|
@ -1,14 +1,7 @@
|
|||
local M = {}
|
||||
|
||||
M.get_colors = function(type)
|
||||
local name
|
||||
|
||||
if vim.g.nvchad_theme then
|
||||
name = vim.g.nvchad_theme
|
||||
else
|
||||
name = nvchad.load_config().ui.theme
|
||||
vim.g.nvchad_theme = name
|
||||
end
|
||||
local name = vim.g.nvchad_theme
|
||||
|
||||
-- theme paths
|
||||
local default_path = "hl_themes." .. name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue