support config transparent bg

This commit is contained in:
asep komarudin 2023-03-04 18:36:14 +07:00
parent 82eb5956d3
commit ad84490084
3 changed files with 24 additions and 4 deletions

View file

@ -11,10 +11,10 @@
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" }, "cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
"code_runner.nvim": { "branch": "main", "commit": "a010649236fe245eaab2641a13228cd601499715" }, "code_runner.nvim": { "branch": "main", "commit": "a010649236fe245eaab2641a13228cd601499715" },
"dracula.nvim": { "branch": "main", "commit": "798274ba3c454a9aa3cd71f95a86ea55cbbbb142" },
"dressing.nvim": { "branch": "master", "commit": "5f44f829481640be0f96759c965ae22a3bcaf7ce" }, "dressing.nvim": { "branch": "master", "commit": "5f44f829481640be0f96759c965ae22a3bcaf7ce" },
"friendly-snippets": { "branch": "main", "commit": "009887b76f15d16f69ae1341f86a7862f61cf2a1" }, "friendly-snippets": { "branch": "main", "commit": "009887b76f15d16f69ae1341f86a7862f61cf2a1" },
"gitsigns.nvim": { "branch": "main", "commit": "bb808fc7376ed7bac0fbe8f47b83d4bf01738167" }, "gitsigns.nvim": { "branch": "main", "commit": "bb808fc7376ed7bac0fbe8f47b83d4bf01738167" },
"gruvbox-baby": { "branch": "main", "commit": "ea71b4225d0140103d99748ca4a33ecf22c03f62" },
"impatient.nvim": { "branch": "main", "commit": "969f2c5c90457612c09cf2a13fee1adaa986d350" }, "impatient.nvim": { "branch": "main", "commit": "969f2c5c90457612c09cf2a13fee1adaa986d350" },
"indent-blankline.nvim": { "branch": "master", "commit": "018bd04d80c9a73d399c1061fa0c3b14a7614399" }, "indent-blankline.nvim": { "branch": "master", "commit": "018bd04d80c9a73d399c1061fa0c3b14a7614399" },
"jaq-nvim": { "branch": "master", "commit": "236296aae555657487d1bb4d066cbde9d79d8cd4" }, "jaq-nvim": { "branch": "master", "commit": "236296aae555657487d1bb4d066cbde9d79d8cd4" },

View file

@ -57,7 +57,7 @@ m.section_separators = { left = "", right = " " }
-- nord -- nord
-- catppuccin -- catppuccin
-- dracula -- dracula
m.colorscheme = "gruvbox-baby" m.colorscheme = "dracula"
-- custom transparent mode -- custom transparent mode
-- only support -- only support
-- gruvbox-baby, -- gruvbox-baby,
@ -66,6 +66,8 @@ m.colorscheme = "gruvbox-baby"
-- material -- material
-- onedark -- onedark
-- catppuccin -- catppuccin
-- nord
-- dracula
-- 0 =off 1= on -- 0 =off 1= on
m.transparent_mode = 0 m.transparent_mode = 0
return m return m

View file

@ -91,7 +91,18 @@ end
return { return {
-- color scheme -- color scheme
{ "luisiacc/gruvbox-baby", lazy = true, enabled = gruvbox }, { "luisiacc/gruvbox-baby", lazy = true, enabled = gruvbox },
{ "dracula/vim", enabled = dracula }, {
"Mofiqul/dracula.nvim",
enabled = dracula,
config = function()
require("dracula").setup({
colors = {
purple = "#BE6DB7",
},
transparent_bg = transparent,
})
end,
},
{ {
"folke/tokyonight.nvim", "folke/tokyonight.nvim",
enabled = tokyonight, enabled = tokyonight,
@ -99,7 +110,14 @@ return {
require("user.tokyonight") require("user.tokyonight")
end, end,
}, },
{ "arcticicestudio/nord-vim", enabled = nord }, {
"shaunsingh/nord.nvim",
enabled = nord,
config = function()
vim.g.nord_disable_background = transparent
require("nord").set()
end,
},
{ "sainnhe/sonokai", enabled = sonokai }, { "sainnhe/sonokai", enabled = sonokai },
{ "lunarvim/lunar.nvim", enabled = lunar }, { "lunarvim/lunar.nvim", enabled = lunar },
{ {