mirror of
https://github.com/harivansh-afk/nvim.git
synced 2026-04-15 13:03:45 +00:00
chad nvim theme overlay lol
This commit is contained in:
parent
efe8d19d7a
commit
2c1131fe8e
6 changed files with 119 additions and 59 deletions
35
lua/plugins/nvchad.lua
Normal file
35
lua/plugins/nvchad.lua
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
return {
|
||||
"nvim-lua/plenary.nvim",
|
||||
|
||||
{
|
||||
"nvchad/base46",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
build = function()
|
||||
require("base46").load_all_highlights()
|
||||
end,
|
||||
config = function()
|
||||
-- Generate cache on first load if it doesn't exist
|
||||
local cache_path = vim.g.base46_cache
|
||||
if not vim.uv.fs_stat(cache_path) then
|
||||
vim.fn.mkdir(cache_path, "p")
|
||||
require("base46").load_all_highlights()
|
||||
end
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"nvchad/ui",
|
||||
lazy = false,
|
||||
priority = 999,
|
||||
config = function()
|
||||
require("nvchad")
|
||||
end,
|
||||
},
|
||||
|
||||
-- Optional: theme switcher UI (use :lua require('nvchad.themes').open())
|
||||
{
|
||||
"nvchad/volt",
|
||||
lazy = true,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue