add: update config

This commit is contained in:
asep.komarudin 2024-04-21 15:48:23 +07:00
parent 515492b002
commit 9a59894b68

View file

@ -4,7 +4,7 @@ return {
"olimorris/onedarkpro.nvim", "olimorris/onedarkpro.nvim",
priority = 1000, -- Ensure it loads first priority = 1000, -- Ensure it loads first
config = function() config = function()
local is_transparent = false local is_transparent = true
require("onedarkpro").setup({ require("onedarkpro").setup({
styles = { styles = {
types = "NONE", types = "NONE",
@ -41,9 +41,11 @@ return {
-- javascript = false, -- javascript = false,
}, },
options = { options = {
cursorline = true, cursorline = false, -- Use cursorline highlighting?
transparency = is_transparent, transparency = is_transparent, -- Use a transparent background?
terminal_colors = true, terminal_colors = true, -- Use the theme's colors for Neovim's :terminal?
lualine_transparency = is_transparent, -- Center bar transparency?
highlight_inactive_windows = false, -- When the window is out of focus, change the normal background?
}, },
highlights = { highlights = {
-- overide cursor line fill colors -- overide cursor line fill colors
@ -107,6 +109,7 @@ return {
-- WhichKeyValue = { bg = "${bg}" }, -- WhichKeyValue = { bg = "${bg}" },
-- -- overide which-key fill color with bg color -- -- overide which-key fill color with bg color
-- WhichKeyBorder = { bg = "${bg}" }, -- WhichKeyBorder = { bg = "${bg}" },
-- Folded = { bg = "NONE", fg = "${fg}" }, -- line used for closed folds
TermCursor = { bg = "${fg}" }, TermCursor = { bg = "${fg}" },
TSRainbowRed = { fg = "${orange}" }, TSRainbowRed = { fg = "${orange}" },
TSRainbowOrange = { fg = "${red}" }, TSRainbowOrange = { fg = "${red}" },