add lazy.nvim hl groups

v2.5
siduck 3 years ago
parent 1f353132de
commit 256ae482d8

@ -118,7 +118,7 @@ end
M.compile = function()
-- All integration modules, each file returns a table
local hl_files = vim.fn.stdpath "data" .. "/site/pack/packer/opt/base46/lua/base46/integrations"
local hl_files = vim.fn.stdpath "data" .. "/lazy/base46/lua/base46/integrations"
for _, file in ipairs(vim.fn.readdir(hl_files)) do
local filename = vim.fn.fnamemodify(file, ":r")

@ -1,6 +1,8 @@
local colors = require("base46").get_theme_tb "base_30"
local theme = require("base46").get_theme_tb "base_16"
local generate_color = require("base46.colors").change_hex_lightness
return {
MatchWord = {
bg = colors.grey,
@ -210,4 +212,39 @@ return {
bg = colors.green,
fg = colors.black,
},
-- lazy.nvim
LazyH1 = {
bg = colors.green,
fg = colors.black,
},
LazyButton = {
bg = colors.one_bg,
fg = generate_color(colors.light_grey, vim.o.bg == "dark" and 10 or -20),
},
LazyH2 = {
bg = colors.one_bg2,
fg = colors.orange,
},
LazyReasonPlugin = { fg = colors.red },
LazyValue = { fg = colors.red },
LazyDir = { fg = theme.base05 },
LazyUrl = { fg = theme.base05 },
LazyCommit = { fg = colors.green },
LazyNoCond = { fg = colors.red },
LazySpecial = { fg = colors.blue },
LazyReasonFt = { fg = colors.purple },
LazyOperator = { fg = colors.white },
LazyReasonKeys = { fg = colors.teal },
LazyTaskOutput = { fg = colors.white },
LazyCommitIssue = { fg = colors.pink },
LazyReasonEvent = { fg = colors.yellow },
LazyReasonStart = { fg = colors.white },
LazyReasonRuntime = { fg = colors.nord_blue },
LazyReasonCmd = { fg = colors.sun },
LazyReasonSource = { fg = colors.cyan },
LazyReasonImport = { fg = colors.white },
LazyProgressDone = { fg = colors.green },
}

Loading…
Cancel
Save