mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-25 02:08:48 +02:00
Updated 7. Example Custom Plugins (markdown)
parent
287e2449e2
commit
d4fd6c54bb
1 changed files with 43 additions and 4 deletions
|
@ -1669,21 +1669,60 @@ https://github.com/leoluz/nvim-dap-go <br>
|
|||
# Color Scheme OnedarkPro
|
||||
- tambahkan config plugin
|
||||
```lua
|
||||
{
|
||||
return {
|
||||
"olimorris/onedarkpro.nvim",
|
||||
priority = 1000, -- Ensure it loads first
|
||||
config = function()
|
||||
require("onedarkpro").setup({
|
||||
highlights = {
|
||||
NvimTreeFolderIcon = { fg = "#e0af68" },
|
||||
colors = {
|
||||
-- red = "#FF0000",
|
||||
},
|
||||
options = {
|
||||
cursorline = true,
|
||||
transparency = false,
|
||||
},
|
||||
highlights = {
|
||||
-- overide cursor line fill colors
|
||||
CursorLine = { bg = "#333842" },
|
||||
-- overide nvimtree folder icon fill color
|
||||
NvimTreeFolderIcon = { fg = "#6776a7" },
|
||||
-- overide nvimtree text fill color folder opened
|
||||
NvimTreeOpenedFolderName = { fg = "#6776a7" },
|
||||
-- overide nvimtree text fill color root folder
|
||||
NvimTreeRootFolder = { fg = "#6776a7" },
|
||||
-- overide cmp cursorline fill color with #333842
|
||||
PmenuSel = { bg = "#333842" },
|
||||
illuminatedWord = { bg = "#3b4261" },
|
||||
illuminatedCurWord = { bg = "#3b4261" },
|
||||
IlluminatedWordText = { bg = "#3b4261" },
|
||||
IlluminatedWordRead = { bg = "#3b4261" },
|
||||
IlluminatedWordWrite = { bg = "#3b4261" },
|
||||
StatusLine = { fg = "#f8f8f2", bg = "${bg}" },
|
||||
StatusLineTerm = { fg = "#f8f8f2", bg = "${bg}" },
|
||||
BufferLineFill = { bg = "${bg}" },
|
||||
Pmenu = { fg = "${fg}", bg = "${bg}" },
|
||||
-- overide lualine fill color with bg color
|
||||
LualineNormal = { bg = "${bg}" },
|
||||
-- overide lualine_c fill color with bg color
|
||||
LualineC = { bg = "${bg}" },
|
||||
-- overide lualine_x fill color with bg color
|
||||
LualineX = { bg = "${bg}" },
|
||||
-- overide which-key fill color with bg color
|
||||
WhichKey = { bg = "${bg}" },
|
||||
-- overide which-key fill color with bg color
|
||||
WhichKeySeperator = { bg = "${bg}" },
|
||||
-- overide which-key fill color with bg color
|
||||
WhichKeyDesc = { bg = "${bg}" },
|
||||
-- overide which-key fill color with bg color
|
||||
WhichKeyFloat = { bg = "${bg}" },
|
||||
-- overide which-key fill color with bg color
|
||||
WhichKeyValue = { bg = "${bg}" },
|
||||
-- overide which-key fill color with bg color
|
||||
WhichKeyBorder = { bg = "${bg}" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
```
|
||||
- load Colorscheme
|
||||
```lua
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue