mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
add: update config colorscheme
This commit is contained in:
parent
08b5d705d7
commit
4d3e980711
6 changed files with 827 additions and 599 deletions
|
@ -10,7 +10,6 @@
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||||
"code_runner.nvim": { "branch": "main", "commit": "d135c4178bf8980ca5fa4aa6e27ab9ee4373c875" },
|
"code_runner.nvim": { "branch": "main", "commit": "d135c4178bf8980ca5fa4aa6e27ab9ee4373c875" },
|
||||||
"codeium.vim": { "branch": "main", "commit": "289eb724e5d6fab2263e94a1ad6e54afebefafb2" },
|
"codeium.vim": { "branch": "main", "commit": "289eb724e5d6fab2263e94a1ad6e54afebefafb2" },
|
||||||
"dracula.nvim": { "branch": "main", "commit": "8d8bddb8814c3e7e62d80dda65a9876f97eb699c" },
|
|
||||||
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
|
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "dd2fd1281d4b22e7b4a5bfafa3e142d958e251f2" },
|
"friendly-snippets": { "branch": "main", "commit": "dd2fd1281d4b22e7b4a5bfafa3e142d958e251f2" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "76927d14d3fbd4ba06ccb5246e79d93b5442c188" },
|
"gitsigns.nvim": { "branch": "main", "commit": "76927d14d3fbd4ba06ccb5246e79d93b5442c188" },
|
||||||
|
@ -26,7 +25,7 @@
|
||||||
"neoscroll.nvim": { "branch": "master", "commit": "e78657719485c5663b88e5d96ffcfb6a2fe3eec0" },
|
"neoscroll.nvim": { "branch": "master", "commit": "e78657719485c5663b88e5d96ffcfb6a2fe3eec0" },
|
||||||
"noice.nvim": { "branch": "main", "commit": "278578720a62787aa5893043f2007792a685a443" },
|
"noice.nvim": { "branch": "main", "commit": "278578720a62787aa5893043f2007792a685a443" },
|
||||||
"none-ls-extras.nvim": { "branch": "main", "commit": "336e84b9e43c0effb735b08798ffac382920053b" },
|
"none-ls-extras.nvim": { "branch": "main", "commit": "336e84b9e43c0effb735b08798ffac382920053b" },
|
||||||
"none-ls.nvim": { "branch": "main", "commit": "aa4442a8493934e3354e507a556ea5f670f68491" },
|
"none-ls.nvim": { "branch": "main", "commit": "60f5f80686f5a272ed3281a7d4962cb54dc5348e" },
|
||||||
"nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" },
|
"nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" },
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
|
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
||||||
|
@ -37,12 +36,13 @@
|
||||||
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
|
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
|
||||||
"nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" },
|
"nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
|
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "298a9dd4f8a0d95b347a7ebd301849d8b0e3917e" },
|
"nvim-treesitter": { "branch": "master", "commit": "6d56c5f404d3b116bab167bc03993cfb0a83f8aa" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "3557e41418b4a6c5b85d5d64abe94c9c50fa9b14" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "3557e41418b4a6c5b85d5d64abe94c9c50fa9b14" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "8ae54b90e36ef1fc5267214b30c2cbff71525fe4" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "8ae54b90e36ef1fc5267214b30c2cbff71525fe4" },
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
|
||||||
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" },
|
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" },
|
"nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" },
|
||||||
|
"onedarkpro.nvim": { "branch": "main", "commit": "ec07364f3cfa9cc6467bf067a490cfd74011efcd" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
||||||
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" },
|
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" },
|
||||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "12b1a1e095d968887a17ef791c2edb78d7595d46" },
|
"rainbow-delimiters.nvim": { "branch": "master", "commit": "12b1a1e095d968887a17ef791c2edb78d7595d46" },
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
-- catppuccin, catppuccin-latte, catppuccin-frappe, catppuccin-macchiato, catppuccin-mocha
|
-- catppuccin, catppuccin-latte, catppuccin-frappe, catppuccin-macchiato, catppuccin-mocha
|
||||||
-- dracula
|
-- dracula
|
||||||
-- nightfox, dayfox, dawnfox, duskfox, nordfox, terafox, carbonfox
|
-- nightfox, dayfox, dawnfox, duskfox, nordfox, terafox, carbonfox
|
||||||
vim.g.pcode_colorscheme = "dracula"
|
vim.g.pcode_colorscheme = "onedark"
|
||||||
|
|
||||||
-- custom transparent mode
|
-- custom transparent mode
|
||||||
-- only support
|
-- only support
|
||||||
|
|
|
@ -92,6 +92,10 @@ return {
|
||||||
always_show_bufferline = true,
|
always_show_bufferline = true,
|
||||||
},
|
},
|
||||||
highlights = {
|
highlights = {
|
||||||
|
fill = {
|
||||||
|
fg = { attribute = "fg", highlight = "TabLine" },
|
||||||
|
bg = { attribute = "none", highlight = "TabLine" },
|
||||||
|
},
|
||||||
background = {
|
background = {
|
||||||
fg = { attribute = "fg", highlight = "TabLine" },
|
fg = { attribute = "fg", highlight = "TabLine" },
|
||||||
bg = { attribute = "none", highlight = "TabLine" },
|
bg = { attribute = "none", highlight = "TabLine" },
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,36 +1,36 @@
|
||||||
return {
|
return {
|
||||||
"hiphish/rainbow-delimiters.nvim",
|
"hiphish/rainbow-delimiters.nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "BufRead",
|
event = "BufRead",
|
||||||
config = function()
|
config = function()
|
||||||
-- Modul ini berisi beberapa definisi default
|
-- Modul ini berisi beberapa definisi default
|
||||||
local rainbow_delimiters = require("rainbow-delimiters")
|
local rainbow_delimiters = require "rainbow-delimiters"
|
||||||
vim.g.rainbow_delimiters = {
|
vim.g.rainbow_delimiters = {
|
||||||
strategy = {
|
strategy = {
|
||||||
[""] = rainbow_delimiters.strategy["global"],
|
[""] = rainbow_delimiters.strategy["global"],
|
||||||
vim = rainbow_delimiters.strategy["local"],
|
vim = rainbow_delimiters.strategy["local"],
|
||||||
},
|
},
|
||||||
query = {
|
query = {
|
||||||
[""] = "rainbow-delimiters",
|
[""] = "rainbow-delimiters",
|
||||||
lua = "rainbow-blocks",
|
-- lua = "rainbow-blocks",
|
||||||
},
|
},
|
||||||
priority = {
|
priority = {
|
||||||
[""] = 110,
|
[""] = 110,
|
||||||
lua = 210,
|
lua = 210,
|
||||||
},
|
},
|
||||||
highlight = {
|
highlight = {
|
||||||
"RainbowDelimiterRed",
|
"RainbowDelimiterRed",
|
||||||
"RainbowDelimiterYellow",
|
"RainbowDelimiterYellow",
|
||||||
"RainbowDelimiterBlue",
|
"RainbowDelimiterBlue",
|
||||||
"RainbowDelimiterOrange",
|
"RainbowDelimiterOrange",
|
||||||
"RainbowDelimiterGreen",
|
"RainbowDelimiterGreen",
|
||||||
"RainbowDelimiterViolet",
|
"RainbowDelimiterViolet",
|
||||||
"RainbowDelimiterCyan",
|
"RainbowDelimiterCyan",
|
||||||
},
|
},
|
||||||
blacklist = {
|
blacklist = {
|
||||||
"html",
|
"html",
|
||||||
"tsx",
|
"tsx",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,63 +3,63 @@ local clear_lualine = false
|
||||||
|
|
||||||
local transparent_mode = vim.g.pcode_transparent_mode or 0
|
local transparent_mode = vim.g.pcode_transparent_mode or 0
|
||||||
if transparent_mode ~= nil then
|
if transparent_mode ~= nil then
|
||||||
if transparent_mode == 1 then
|
if transparent_mode == 1 then
|
||||||
transparent = true
|
transparent = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local clear_line = vim.g.pcode_clear_lualine or 0
|
local clear_line = vim.g.pcode_clear_lualine or 0
|
||||||
if clear_line ~= nil then
|
if clear_line ~= nil then
|
||||||
if clear_line == 1 then
|
if clear_line == 1 then
|
||||||
clear_lualine = true
|
clear_lualine = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
-- transparant config
|
-- transparant config
|
||||||
{
|
{
|
||||||
"xiyaowong/transparent.nvim",
|
"xiyaowong/transparent.nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
enabled = transparent,
|
enabled = transparent,
|
||||||
event = "BufWinEnter",
|
event = "BufWinEnter",
|
||||||
cmd = { "TransparentToggle", "TransparentEnable", "TransparentDisable" },
|
cmd = { "TransparentToggle", "TransparentEnable", "TransparentDisable" },
|
||||||
config = function()
|
config = function()
|
||||||
require("transparent").setup({
|
require("transparent").setup {
|
||||||
extra_groups = {},
|
extra_groups = {},
|
||||||
exclude_groups = {
|
exclude_groups = {
|
||||||
-- disable active selection backgroun
|
-- disable active selection backgroun
|
||||||
"CursorLine",
|
"CursorLine",
|
||||||
"CursorLineNR",
|
"CursorLineNR",
|
||||||
"CursorLineSign",
|
"CursorLineSign",
|
||||||
"CursorLineFold",
|
"CursorLineFold",
|
||||||
-- disable nvimtree CursorLine
|
-- disable nvimtree CursorLine
|
||||||
"NvimTreeCursorLine",
|
"NvimTreeCursorLine",
|
||||||
-- disable Neotree CursorLine
|
-- disable Neotree CursorLine
|
||||||
"NeoTreeCursorLine",
|
"NeoTreeCursorLine",
|
||||||
-- disable Telescope active selection background
|
-- disable Telescope active selection background
|
||||||
"TelescopeSelection",
|
"TelescopeSelection",
|
||||||
-- disable lualine background color
|
-- disable lualine background color
|
||||||
"LualineNormal",
|
"LualineNormal",
|
||||||
},
|
},
|
||||||
})
|
}
|
||||||
require("transparent").clear_prefix("BufferLine")
|
require("transparent").clear_prefix "BufferLine"
|
||||||
-- clear prefix for which-key
|
-- clear prefix for which-key
|
||||||
require("transparent").clear_prefix("WhichKey")
|
require("transparent").clear_prefix "WhichKey"
|
||||||
-- clear prefix for lazy.nvim
|
-- clear prefix for lazy.nvim
|
||||||
require("transparent").clear_prefix("Lazy")
|
require("transparent").clear_prefix "Lazy"
|
||||||
-- clear prefix for NvimTree
|
-- clear prefix for NvimTree
|
||||||
require("transparent").clear_prefix("NvimTree")
|
require("transparent").clear_prefix "NvimTree"
|
||||||
-- clear prefix for NeoTree
|
-- clear prefix for NeoTree
|
||||||
require("transparent").clear_prefix("NeoTree")
|
require("transparent").clear_prefix "NeoTree"
|
||||||
-- clear prefix for Telescope
|
-- clear prefix for Telescope
|
||||||
require("transparent").clear_prefix("Telescope")
|
require("transparent").clear_prefix "Telescope"
|
||||||
if clear_lualine then
|
if clear_lualine then
|
||||||
-- clear prefix for Lualine
|
-- clear prefix for Lualine
|
||||||
require("transparent").clear_prefix("Lualine")
|
require("transparent").clear_prefix "Lualine"
|
||||||
-- create auto command to set transparent
|
-- create auto command to set transparent
|
||||||
vim.cmd("TransparentDisable")
|
vim.cmd "TransparentDisable"
|
||||||
vim.cmd("TransparentEnable")
|
vim.cmd "TransparentEnable"
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue