unlink stuff
This commit is contained in:
@@ -1,124 +0,0 @@
|
||||
-- Matugen-generated palette for use by other plugins
|
||||
_G.matugen_palette = {
|
||||
color0 = "#19120d",
|
||||
color1 = "#ff7972",
|
||||
color2 = "#95ff7f",
|
||||
color3 = "#ffe672",
|
||||
color4 = "#f2a063",
|
||||
color5 = "#76380b",
|
||||
color6 = "#ffb782",
|
||||
color7 = "#fff6ef",
|
||||
color8 = "#a59e99",
|
||||
color9 = "#ffa49f",
|
||||
color10 = "#b5ffa5",
|
||||
color11 = "#ffefa5",
|
||||
color12 = "#ffc194",
|
||||
color13 = "#ffcca7",
|
||||
color14 = "#ffdec6",
|
||||
color15 = "#fffbf8",
|
||||
}
|
||||
|
||||
return {
|
||||
{
|
||||
"RRethy/base16-nvim",
|
||||
priority = 1000,
|
||||
config = function()
|
||||
require("base16-colorscheme").setup({
|
||||
base00 = "#19120d",
|
||||
base01 = "#19120d",
|
||||
base02 = "#a59e99",
|
||||
base03 = "#a59e99",
|
||||
base04 = "#fff6ef",
|
||||
base05 = "#fffbf8",
|
||||
base06 = "#fffbf8",
|
||||
base07 = "#fffbf8",
|
||||
base08 = "#ffa49f",
|
||||
base09 = "#ffa49f",
|
||||
base0A = "#ffc194",
|
||||
base0B = "#b5ffa5",
|
||||
base0C = "#ffdec6",
|
||||
base0D = "#ffc194",
|
||||
base0E = "#ffcca7",
|
||||
base0F = "#ffcca7",
|
||||
})
|
||||
|
||||
vim.api.nvim_set_hl(0, "Visual", {
|
||||
bg = "#a59e99",
|
||||
fg = "#fffbf8",
|
||||
bold = true,
|
||||
})
|
||||
vim.api.nvim_set_hl(0, "Statusline", {
|
||||
bg = "#ffc194",
|
||||
fg = "#19120d",
|
||||
})
|
||||
vim.api.nvim_set_hl(0, "LineNr", { fg = "#a59e99" })
|
||||
vim.api.nvim_set_hl(0, "CursorLineNr", { fg = "#ffdec6", bold = true })
|
||||
|
||||
vim.api.nvim_set_hl(0, "Statement", {
|
||||
fg = "#ffcca7",
|
||||
bold = true,
|
||||
})
|
||||
vim.api.nvim_set_hl(0, "Keyword", { link = "Statement" })
|
||||
vim.api.nvim_set_hl(0, "Repeat", { link = "Statement" })
|
||||
vim.api.nvim_set_hl(0, "Conditional", { link = "Statement" })
|
||||
|
||||
vim.api.nvim_set_hl(0, "Function", {
|
||||
fg = "#ffc194",
|
||||
bold = true,
|
||||
})
|
||||
vim.api.nvim_set_hl(0, "Macro", {
|
||||
fg = "#ffc194",
|
||||
italic = true,
|
||||
})
|
||||
vim.api.nvim_set_hl(0, "@function.macro", { link = "Macro" })
|
||||
|
||||
vim.api.nvim_set_hl(0, "Type", {
|
||||
fg = "#ffdec6",
|
||||
bold = true,
|
||||
italic = true,
|
||||
})
|
||||
vim.api.nvim_set_hl(0, "Structure", { link = "Type" })
|
||||
|
||||
vim.api.nvim_set_hl(0, "String", {
|
||||
fg = "#b5ffa5",
|
||||
italic = true,
|
||||
})
|
||||
|
||||
vim.api.nvim_set_hl(0, "Operator", { fg = "#fff6ef" })
|
||||
vim.api.nvim_set_hl(0, "Delimiter", { fg = "#fff6ef" })
|
||||
vim.api.nvim_set_hl(0, "@punctuation.bracket", { link = "Delimiter" })
|
||||
vim.api.nvim_set_hl(0, "@punctuation.delimiter", { link = "Delimiter" })
|
||||
|
||||
vim.api.nvim_set_hl(0, "Comment", {
|
||||
fg = "#a59e99",
|
||||
italic = true,
|
||||
})
|
||||
|
||||
-- Transparent background
|
||||
vim.api.nvim_set_hl(0, "Normal", { bg = "NONE" })
|
||||
vim.api.nvim_set_hl(0, "NormalNC", { bg = "NONE" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "NONE" })
|
||||
vim.api.nvim_set_hl(0, "SignColumn", { bg = "NONE" })
|
||||
vim.api.nvim_set_hl(0, "EndOfBuffer", { bg = "NONE" })
|
||||
|
||||
-- Emit event for other plugins to react to theme changes
|
||||
vim.api.nvim_exec_autocmds("User", { pattern = "MatugenReload" })
|
||||
|
||||
local current_file_path = vim.fn.stdpath("config") .. "/lua/plugins/dankcolors.lua"
|
||||
if not _G._matugen_theme_watcher then
|
||||
local uv = vim.uv or vim.loop
|
||||
_G._matugen_theme_watcher = uv.new_fs_event()
|
||||
_G._matugen_theme_watcher:start(
|
||||
current_file_path,
|
||||
{},
|
||||
vim.schedule_wrap(function()
|
||||
local new_spec = dofile(current_file_path)
|
||||
if new_spec and new_spec[1] and new_spec[1].config then
|
||||
new_spec[1].config()
|
||||
end
|
||||
end)
|
||||
)
|
||||
end
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user