mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 09:18:44 +02:00
add: update config colorscheme
This commit is contained in:
parent
08b5d705d7
commit
4d3e980711
6 changed files with 827 additions and 599 deletions
|
@ -92,6 +92,10 @@ return {
|
|||
always_show_bufferline = true,
|
||||
},
|
||||
highlights = {
|
||||
fill = {
|
||||
fg = { attribute = "fg", highlight = "TabLine" },
|
||||
bg = { attribute = "none", highlight = "TabLine" },
|
||||
},
|
||||
background = {
|
||||
fg = { attribute = "fg", highlight = "TabLine" },
|
||||
bg = { attribute = "none", highlight = "TabLine" },
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,36 +1,36 @@
|
|||
return {
|
||||
"hiphish/rainbow-delimiters.nvim",
|
||||
lazy = true,
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
-- Modul ini berisi beberapa definisi default
|
||||
local rainbow_delimiters = require("rainbow-delimiters")
|
||||
vim.g.rainbow_delimiters = {
|
||||
strategy = {
|
||||
[""] = rainbow_delimiters.strategy["global"],
|
||||
vim = rainbow_delimiters.strategy["local"],
|
||||
},
|
||||
query = {
|
||||
[""] = "rainbow-delimiters",
|
||||
lua = "rainbow-blocks",
|
||||
},
|
||||
priority = {
|
||||
[""] = 110,
|
||||
lua = 210,
|
||||
},
|
||||
highlight = {
|
||||
"RainbowDelimiterRed",
|
||||
"RainbowDelimiterYellow",
|
||||
"RainbowDelimiterBlue",
|
||||
"RainbowDelimiterOrange",
|
||||
"RainbowDelimiterGreen",
|
||||
"RainbowDelimiterViolet",
|
||||
"RainbowDelimiterCyan",
|
||||
},
|
||||
blacklist = {
|
||||
"html",
|
||||
"tsx",
|
||||
},
|
||||
}
|
||||
end,
|
||||
"hiphish/rainbow-delimiters.nvim",
|
||||
lazy = true,
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
-- Modul ini berisi beberapa definisi default
|
||||
local rainbow_delimiters = require "rainbow-delimiters"
|
||||
vim.g.rainbow_delimiters = {
|
||||
strategy = {
|
||||
[""] = rainbow_delimiters.strategy["global"],
|
||||
vim = rainbow_delimiters.strategy["local"],
|
||||
},
|
||||
query = {
|
||||
[""] = "rainbow-delimiters",
|
||||
-- lua = "rainbow-blocks",
|
||||
},
|
||||
priority = {
|
||||
[""] = 110,
|
||||
lua = 210,
|
||||
},
|
||||
highlight = {
|
||||
"RainbowDelimiterRed",
|
||||
"RainbowDelimiterYellow",
|
||||
"RainbowDelimiterBlue",
|
||||
"RainbowDelimiterOrange",
|
||||
"RainbowDelimiterGreen",
|
||||
"RainbowDelimiterViolet",
|
||||
"RainbowDelimiterCyan",
|
||||
},
|
||||
blacklist = {
|
||||
"html",
|
||||
"tsx",
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
|
|
@ -3,63 +3,63 @@ local clear_lualine = false
|
|||
|
||||
local transparent_mode = vim.g.pcode_transparent_mode or 0
|
||||
if transparent_mode ~= nil then
|
||||
if transparent_mode == 1 then
|
||||
transparent = true
|
||||
end
|
||||
if transparent_mode == 1 then
|
||||
transparent = true
|
||||
end
|
||||
end
|
||||
|
||||
local clear_line = vim.g.pcode_clear_lualine or 0
|
||||
if clear_line ~= nil then
|
||||
if clear_line == 1 then
|
||||
clear_lualine = true
|
||||
end
|
||||
if clear_line == 1 then
|
||||
clear_lualine = true
|
||||
end
|
||||
end
|
||||
|
||||
return {
|
||||
-- transparant config
|
||||
{
|
||||
"xiyaowong/transparent.nvim",
|
||||
lazy = true,
|
||||
enabled = transparent,
|
||||
event = "BufWinEnter",
|
||||
cmd = { "TransparentToggle", "TransparentEnable", "TransparentDisable" },
|
||||
config = function()
|
||||
require("transparent").setup({
|
||||
extra_groups = {},
|
||||
exclude_groups = {
|
||||
-- disable active selection backgroun
|
||||
"CursorLine",
|
||||
"CursorLineNR",
|
||||
"CursorLineSign",
|
||||
"CursorLineFold",
|
||||
-- disable nvimtree CursorLine
|
||||
"NvimTreeCursorLine",
|
||||
-- disable Neotree CursorLine
|
||||
"NeoTreeCursorLine",
|
||||
-- disable Telescope active selection background
|
||||
"TelescopeSelection",
|
||||
-- disable lualine background color
|
||||
"LualineNormal",
|
||||
},
|
||||
})
|
||||
require("transparent").clear_prefix("BufferLine")
|
||||
-- clear prefix for which-key
|
||||
require("transparent").clear_prefix("WhichKey")
|
||||
-- clear prefix for lazy.nvim
|
||||
require("transparent").clear_prefix("Lazy")
|
||||
-- clear prefix for NvimTree
|
||||
require("transparent").clear_prefix("NvimTree")
|
||||
-- clear prefix for NeoTree
|
||||
require("transparent").clear_prefix("NeoTree")
|
||||
-- clear prefix for Telescope
|
||||
require("transparent").clear_prefix("Telescope")
|
||||
if clear_lualine then
|
||||
-- clear prefix for Lualine
|
||||
require("transparent").clear_prefix("Lualine")
|
||||
-- create auto command to set transparent
|
||||
vim.cmd("TransparentDisable")
|
||||
vim.cmd("TransparentEnable")
|
||||
end
|
||||
end,
|
||||
},
|
||||
-- transparant config
|
||||
{
|
||||
"xiyaowong/transparent.nvim",
|
||||
lazy = true,
|
||||
enabled = transparent,
|
||||
event = "BufWinEnter",
|
||||
cmd = { "TransparentToggle", "TransparentEnable", "TransparentDisable" },
|
||||
config = function()
|
||||
require("transparent").setup {
|
||||
extra_groups = {},
|
||||
exclude_groups = {
|
||||
-- disable active selection backgroun
|
||||
"CursorLine",
|
||||
"CursorLineNR",
|
||||
"CursorLineSign",
|
||||
"CursorLineFold",
|
||||
-- disable nvimtree CursorLine
|
||||
"NvimTreeCursorLine",
|
||||
-- disable Neotree CursorLine
|
||||
"NeoTreeCursorLine",
|
||||
-- disable Telescope active selection background
|
||||
"TelescopeSelection",
|
||||
-- disable lualine background color
|
||||
"LualineNormal",
|
||||
},
|
||||
}
|
||||
require("transparent").clear_prefix "BufferLine"
|
||||
-- clear prefix for which-key
|
||||
require("transparent").clear_prefix "WhichKey"
|
||||
-- clear prefix for lazy.nvim
|
||||
require("transparent").clear_prefix "Lazy"
|
||||
-- clear prefix for NvimTree
|
||||
require("transparent").clear_prefix "NvimTree"
|
||||
-- clear prefix for NeoTree
|
||||
require("transparent").clear_prefix "NeoTree"
|
||||
-- clear prefix for Telescope
|
||||
require("transparent").clear_prefix "Telescope"
|
||||
if clear_lualine then
|
||||
-- clear prefix for Lualine
|
||||
require("transparent").clear_prefix "Lualine"
|
||||
-- create auto command to set transparent
|
||||
vim.cmd "TransparentDisable"
|
||||
vim.cmd "TransparentEnable"
|
||||
end
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue