This commit is contained in:
asep.komarudin 2024-04-21 09:12:19 +07:00
parent 1b1f8b9967
commit 1cacea97f6
7 changed files with 153 additions and 108 deletions

View file

@ -354,6 +354,7 @@ return {
priority = 1000,
config = function()
-- Lua
local util = require("onedark.util")
require("onedark").setup({
term_colors = true,
style = onedark_style,
@ -383,7 +384,7 @@ return {
-- BorderBG = { fg = "#333842" }, -- untuk custom brder color cmp
-- overide indent line fill color
NvimTreeNormal = { fg = "$fg", bg = "$bg0" },
NvimTreeIndentMarker = { fg = "#3E4450" },
NvimTreeIndentMarker = { fg = "#515661" },
-- NvimTreeGitIgnored = { fg = "$gray", bg = "NONE" },
IblIndent = { fg = "#3E4450" },
-- NvimTreeFolderIcon = { bg = "NONE", fg = "$blue" },

View file

@ -364,9 +364,29 @@ return {
lazy = true,
-- event = "BufWinEnter",
event = { "BufRead", "InsertEnter", "BufNewFile" },
opts = function()
require("user.colorizer")
end,
-- opts = function()
-- require("user.colorizer")
-- end,
opts = {
user_default_options = {
RGB = true, -- #RGB hex codes
RRGGBB = true, -- #RRGGBB hex codes
names = true, -- "Name" codes like Blue
RRGGBBAA = true, -- #RRGGBBAA hex codes
rgb_fn = true, -- CSS rgb() and rgba() functions
hsl_fn = true, -- CSS hsl() and hsla() functions
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
-- Available modes: foreground, background
mode = "background", -- Set the display mode.
tailwind = true,
},
filetypes = {
"*", -- Highlight all files, but customize some others.
css = { rgb_fn = true }, -- Enable parsing rgb(...) functions in css.
html = { names = false }, -- Disable parsing "names" like Blue or Gray
},
},
},
-- for winbar icon
{