42 lines
1.4 KiB
Lua
42 lines
1.4 KiB
Lua
return {
|
|
"rebelot/kanagawa.nvim",
|
|
config = function()
|
|
require("kanagawa").setup({
|
|
compile = true,
|
|
transparent = true,
|
|
colors = {
|
|
theme = {
|
|
all = {
|
|
ui = {
|
|
bg_gutter = "none",
|
|
float = {
|
|
bg = "none",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
overrides = function(colors)
|
|
local theme = colors.theme
|
|
return {
|
|
["@markup.link.url.markdown_inline"] = { link = "Special" }, -- (url)
|
|
["@markup.link.label.markdown_inline"] = { link = "WarningMsg" }, -- [label]
|
|
["@markup.italic.markdown_inline"] = { link = "Exception" }, -- *italic*
|
|
["@markup.raw.markdown_inline"] = { link = "String" }, -- `code`
|
|
["@markup.list.markdown"] = { link = "Function" }, -- + list
|
|
["@markup.quote.markdown"] = { link = "Error" }, -- > blockcode
|
|
["@markup.list.checked.markdown_inline"] = { link = "Error" }, -- - [X] checked list item
|
|
NormalFloat = { bg = "none" },
|
|
FloatBorder = { bg = "none" },
|
|
FloatTitle = { bg = "none" },
|
|
LazyNormal = { bg = theme.ui.bg_m3, fg = theme.ui.fg_dim },
|
|
MasonNormal = { bg = theme.ui.bg_m3, fg = theme.ui.fg_dim },
|
|
}
|
|
end,
|
|
})
|
|
vim.cmd("colorscheme kanagawa")
|
|
end,
|
|
build = function()
|
|
vim.cmd("KanagawaCompile")
|
|
end,
|
|
}
|