mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 13:30:41 +00:00
a6ab121d12
using telescope picker ask if want to change default theme, change value in user_config.lua load it as a telescope extension live preview of themes Co-authored-by: Galen Rowell <growell3@gmail.com>
12 lines
261 B
Lua
12 lines
261 B
Lua
local chad_theme = require("user_config").ui.theme
|
|
|
|
vim.g.nvchad_theme = chad_theme
|
|
local present, base16 = pcall(require, "base16")
|
|
|
|
if present then
|
|
base16(base16.themes[chad_theme], true)
|
|
require "highlights"
|
|
return true
|
|
else
|
|
return false
|
|
end
|