mirror of
https://github.com/gabehf/base46.git
synced 2026-03-08 23:18:15 -07:00
add lazy.nvim hl groups
This commit is contained in:
parent
1f353132de
commit
256ae482d8
2 changed files with 38 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue