mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-25 21:14:34 +02:00
Updated 7. Example Custom Plugins (markdown)
parent
d3cd081e3c
commit
0ac8c31207
1 changed files with 97 additions and 76 deletions
|
@ -1670,82 +1670,103 @@ https://github.com/leoluz/nvim-dap-go <br>
|
||||||
- tambahkan config plugin
|
- tambahkan config plugin
|
||||||
```lua
|
```lua
|
||||||
return {
|
return {
|
||||||
"olimorris/onedarkpro.nvim",
|
{ "navarasu/onedark.nvim", enabled = false },
|
||||||
priority = 1000, -- Ensure it loads first
|
{
|
||||||
config = function()
|
"olimorris/onedarkpro.nvim",
|
||||||
require("onedarkpro").setup({
|
priority = 1000, -- Ensure it loads first
|
||||||
styles = {
|
config = function()
|
||||||
types = "NONE",
|
require("onedarkpro").setup({
|
||||||
methods = "NONE",
|
styles = {
|
||||||
numbers = "NONE",
|
types = "NONE",
|
||||||
strings = "NONE",
|
methods = "NONE",
|
||||||
comments = "italic",
|
numbers = "NONE",
|
||||||
keywords = "bold,italic",
|
strings = "NONE",
|
||||||
constants = "NONE",
|
comments = "italic",
|
||||||
functions = "italic",
|
keywords = "bold,italic",
|
||||||
operators = "NONE",
|
constants = "NONE",
|
||||||
variables = "NONE",
|
functions = "italic",
|
||||||
parameters = "NONE",
|
operators = "NONE",
|
||||||
conditionals = "italic",
|
variables = "NONE",
|
||||||
virtual_text = "NONE",
|
parameters = "NONE",
|
||||||
},
|
conditionals = "italic",
|
||||||
colors = {
|
virtual_text = "NONE",
|
||||||
-- red = "#FF0000",
|
tags = "italic",
|
||||||
bg_statusline = "#282c34",
|
},
|
||||||
},
|
colors = {
|
||||||
options = {
|
onedark = {
|
||||||
cursorline = true,
|
green = "#99c379",
|
||||||
transparency = false,
|
gray = "#8094b4",
|
||||||
terminal_colors = true,
|
red = "#e06c75",
|
||||||
},
|
purple = "#c678dd",
|
||||||
highlights = {
|
yellow = "#e5c07a",
|
||||||
-- overide cursor line fill colors
|
blue = "#61afef",
|
||||||
LineNr = { fg = "${fg}" }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
cyan = "#56b6c2",
|
||||||
CursorLineNr = { fg = "${fg}" }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
bg_statusline = "#282c34",
|
||||||
CursorLine = { bg = "#333842" },
|
indentline = "#3b4261",
|
||||||
Cursor = { fg = "${bg}", bg = "${fg}" }, -- character under the cursor
|
float_bg = "#282c34",
|
||||||
lCursor = { fg = "${bg}", bg = "${fg}" }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
|
},
|
||||||
CursorIM = { fg = "${bg}", bg = "${fg}" }, -- like Cursor, but used when in IME mode |CursorIM|
|
},
|
||||||
CursorColumn = { bg = "#333842" }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
|
options = {
|
||||||
-- overide nvimtree folder icon fill color
|
cursorline = true,
|
||||||
NvimTreeFolderIcon = { fg = "#6776a7" },
|
transparency = false,
|
||||||
-- overide nvimtree text fill color folder opened
|
terminal_colors = true,
|
||||||
NvimTreeOpenedFolderName = { fg = "#6776a7" },
|
},
|
||||||
-- overide nvimtree text fill color root folder
|
highlights = {
|
||||||
NvimTreeRootFolder = { fg = "#6776a7" },
|
-- overide cursor line fill colors
|
||||||
-- overide cmp cursorline fill color with #333842
|
LineNr = { fg = "#49505E" }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
||||||
PmenuSel = { bg = "#333842" },
|
CursorLineNr = { fg = "${blue}" }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
||||||
illuminatedWord = { bg = "#3b4261" },
|
CursorLine = { bg = "#333842" },
|
||||||
illuminatedCurWord = { bg = "#3b4261" },
|
Cursor = { fg = "${bg}", bg = "${fg}" }, -- character under the cursor
|
||||||
IlluminatedWordText = { bg = "#3b4261" },
|
lCursor = { fg = "${bg}", bg = "${fg}" }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
|
||||||
IlluminatedWordRead = { bg = "#3b4261" },
|
CursorIM = { fg = "${bg}", bg = "${fg}" }, -- like Cursor, but used when in IME mode |CursorIM|
|
||||||
IlluminatedWordWrite = { bg = "#3b4261" },
|
CursorColumn = { bg = "#333842" }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
|
||||||
StatusLine = { fg = "#f8f8f2", bg = "${bg}" },
|
-- overide nvimtree folder icon fill color
|
||||||
StatusLineTerm = { fg = "#f8f8f2", bg = "${bg}" },
|
NvimTreeFolderIcon = { fg = "${gray}" },
|
||||||
BufferLineFill = { bg = "${bg}" },
|
-- overide nvimtree text fill color folder opened
|
||||||
Pmenu = { fg = "${fg}", bg = "${bg}" },
|
NvimTreeOpenedFolderName = { fg = "${blue}" },
|
||||||
PmenuThumb = { bg = "#3b4261" }, -- Popup menu: Thumb of the scrollbar.
|
-- overide nvimtree text fill color root folder
|
||||||
-- overide lualine fill color with bg color
|
NvimTreeRootFolder = { fg = "${yellow}" },
|
||||||
LualineNormal = { bg = "${bg}" },
|
NvimTreeSpecialFile = { fg = "${yellow}" },
|
||||||
-- overide lualine_c fill color with bg color
|
NvimTreeWinSeparator = { fg = "#202329" },
|
||||||
LualineC = { bg = "${bg}" },
|
NvimTreeIndentMarker = { fg = "#3E4450" },
|
||||||
-- overide lualine_x fill color with bg color
|
-- overide indenline fill color
|
||||||
LualineX = { bg = "${bg}" },
|
IblIndent = { fg = "#3E4450" },
|
||||||
-- overide which-key fill color with bg color
|
-- overide cmp cursorline fill color with #333842
|
||||||
WhichKey = { bg = "${bg}" },
|
PmenuSel = { bg = "#333842" },
|
||||||
-- overide which-key fill color with bg color
|
illuminatedWord = { bg = "#3b4261" },
|
||||||
WhichKeySeperator = { bg = "${bg}" },
|
illuminatedCurWord = { bg = "#3b4261" },
|
||||||
-- overide which-key fill color with bg color
|
IlluminatedWordText = { bg = "#3b4261" },
|
||||||
WhichKeyDesc = { bg = "${bg}" },
|
IlluminatedWordRead = { bg = "#3b4261" },
|
||||||
-- overide which-key fill color with bg color
|
IlluminatedWordWrite = { bg = "#3b4261" },
|
||||||
WhichKeyFloat = { bg = "${bg}" },
|
StatusLine = { fg = "#f8f8f2", bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
StatusLineTerm = { fg = "#f8f8f2", bg = "${bg}" },
|
||||||
WhichKeyValue = { bg = "${bg}" },
|
BufferLineFill = { bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
["@string.special.url.html"] = { fg = "${green}" },
|
||||||
WhichKeyBorder = { bg = "${bg}" },
|
["@text.uri.html"] = { fg = "${green}" },
|
||||||
},
|
Pmenu = { fg = "${fg}", bg = "${bg}" },
|
||||||
})
|
PmenuThumb = { bg = "${gray}" }, -- Popup menu: Thumb of the scrollbar.
|
||||||
end,
|
-- 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
|
- load Colorscheme
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue