mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-24 09:48:51 +02:00
add: update config colorscheme
This commit is contained in:
parent
4bbbf4bc75
commit
07c6b8ce49
19 changed files with 911 additions and 766 deletions
25
lua/plugins/themes/juliana.lua
Normal file
25
lua/plugins/themes/juliana.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
local color = vim.g.pcode_colorscheme or "gruvbox-baby"
|
||||
|
||||
if (color == "juliana") and true or false then
|
||||
return {
|
||||
"pojokcodeid/nvim-juliana",
|
||||
lazy = false,
|
||||
enabled = (color == "juliana") and true or false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
config = function()
|
||||
vim.api.nvim_create_autocmd("ColorScheme", {
|
||||
pattern = "*",
|
||||
callback = function()
|
||||
-- get colors
|
||||
local colors = require("nvim-juliana").colors()
|
||||
-- custom hilights
|
||||
local hi = vim.api.nvim_set_hl
|
||||
hi(0, "FoldColumn", { bg = colors.bg2 })
|
||||
end,
|
||||
})
|
||||
end,
|
||||
}
|
||||
else
|
||||
return {}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue