mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
add: update config colorscheme
This commit is contained in:
parent
4bbbf4bc75
commit
07c6b8ce49
19 changed files with 911 additions and 766 deletions
61
lua/plugins/themes/material.lua
Normal file
61
lua/plugins/themes/material.lua
Normal file
|
@ -0,0 +1,61 @@
|
|||
local color = vim.g.pcode_colorscheme or "gruvbox-baby"
|
||||
local transparent_mode = vim.g.pcode_transparent_mode or 0
|
||||
local materialstyle = extract(color)[2] or "oceanic"
|
||||
local material_style = (materialstyle == "deepocean") and "deep ocean" or materialstyle
|
||||
|
||||
if substring(tostring(color), "material") and true or false then
|
||||
return {
|
||||
"marko-cerovac/material.nvim",
|
||||
priority = 1000,
|
||||
enabled = substring(tostring(color), "material") and true or false,
|
||||
config = function()
|
||||
local colors = require "material.colors"
|
||||
vim.g.material_style = material_style
|
||||
require("material").setup {
|
||||
lualine_style = "stealth",
|
||||
disable = {
|
||||
background = (transparent_mode == 1) and true or false,
|
||||
},
|
||||
plugins = { -- Uncomment the plugins that you use to highlight them
|
||||
-- Available plugins:
|
||||
"dap",
|
||||
-- "dashboard",
|
||||
-- "eyeliner",
|
||||
"fidget",
|
||||
-- "flash",
|
||||
"gitsigns",
|
||||
-- "harpoon",
|
||||
-- "hop",
|
||||
"illuminate",
|
||||
"indent-blankline",
|
||||
-- "lspsaga",
|
||||
"mini",
|
||||
-- "neogit",
|
||||
-- "neotest",
|
||||
-- "neo-tree",
|
||||
-- "neorg",
|
||||
"noice",
|
||||
"nvim-cmp",
|
||||
"nvim-navic",
|
||||
"nvim-tree",
|
||||
"nvim-web-devicons",
|
||||
"rainbow-delimiters",
|
||||
-- "sneak",
|
||||
"telescope",
|
||||
-- "trouble",
|
||||
"which-key",
|
||||
"nvim-notify",
|
||||
},
|
||||
custom_highlights = {
|
||||
BufferLineFill = { bg = colors.bg },
|
||||
StatusLine = { fg = "#f8f8f2", bg = colors.bg },
|
||||
StatusLineTerm = { fg = "#f8f8f2", bg = colors.bg },
|
||||
WinBarNC = { fg = colors.fg, bg = colors.bg },
|
||||
CursorLine = { bg = "#333842" },
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
else
|
||||
return {}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue