mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-04 22:44:29 +02:00
Updated 7. Example Custom Plugins (markdown)
parent
7009221aa7
commit
b212dee2c1
1 changed files with 44 additions and 20 deletions
|
@ -1770,6 +1770,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
|
||||||
require("onedarkpro").setup({
|
require("onedarkpro").setup({
|
||||||
styles = {
|
styles = {
|
||||||
types = "NONE",
|
types = "NONE",
|
||||||
|
@ -1777,9 +1778,10 @@ return {
|
||||||
numbers = "NONE",
|
numbers = "NONE",
|
||||||
strings = "NONE",
|
strings = "NONE",
|
||||||
comments = "italic",
|
comments = "italic",
|
||||||
keywords = "bold,italic",
|
-- keywords = "bold,italic",
|
||||||
|
keywords = "italic",
|
||||||
constants = "NONE",
|
constants = "NONE",
|
||||||
functions = "italic",
|
functions = "NONE",
|
||||||
operators = "NONE",
|
operators = "NONE",
|
||||||
variables = "NONE",
|
variables = "NONE",
|
||||||
parameters = "NONE",
|
parameters = "NONE",
|
||||||
|
@ -1801,10 +1803,15 @@ return {
|
||||||
float_bg = "#282c34",
|
float_bg = "#282c34",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
filetypes = {
|
||||||
|
-- javascript = false,
|
||||||
|
},
|
||||||
options = {
|
options = {
|
||||||
cursorline = true,
|
cursorline = true, -- Use cursorline highlighting?
|
||||||
transparency = false,
|
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
|
||||||
|
@ -1820,8 +1827,8 @@ return {
|
||||||
-- overide nvimtree text fill color folder opened
|
-- overide nvimtree text fill color folder opened
|
||||||
NvimTreeOpenedFolderName = { fg = "${blue}" },
|
NvimTreeOpenedFolderName = { fg = "${blue}" },
|
||||||
-- overide nvimtree text fill color root folder
|
-- overide nvimtree text fill color root folder
|
||||||
NvimTreeRootFolder = { fg = "${yellow}" },
|
NvimTreeRootFolder = { fg = "${blue}" },
|
||||||
NvimTreeSpecialFile = { fg = "${yellow}" },
|
NvimTreeSpecialFile = { fg = "${orange}" },
|
||||||
NvimTreeWinSeparator = { fg = "#202329" },
|
NvimTreeWinSeparator = { fg = "#202329" },
|
||||||
NvimTreeIndentMarker = { fg = "#3E4450" },
|
NvimTreeIndentMarker = { fg = "#3E4450" },
|
||||||
-- overide indenline fill color
|
-- overide indenline fill color
|
||||||
|
@ -1833,11 +1840,23 @@ return {
|
||||||
IlluminatedWordText = { bg = "#3b4261" },
|
IlluminatedWordText = { bg = "#3b4261" },
|
||||||
IlluminatedWordRead = { bg = "#3b4261" },
|
IlluminatedWordRead = { bg = "#3b4261" },
|
||||||
IlluminatedWordWrite = { bg = "#3b4261" },
|
IlluminatedWordWrite = { bg = "#3b4261" },
|
||||||
StatusLine = { fg = "#f8f8f2", bg = "${bg}" },
|
StatusLine = { fg = "#f8f8f2", bg = is_transparent and "NONE" or "${bg}" },
|
||||||
StatusLineTerm = { fg = "#f8f8f2", bg = "${bg}" },
|
StatusLineTerm = { fg = "#f8f8f2", bg = "${bg}" },
|
||||||
BufferLineFill = { bg = "${bg}" },
|
BufferLineFill = { bg = is_transparent and "NONE" or "${bg}" },
|
||||||
["@string.special.url.html"] = { fg = "${green}" },
|
["@string.special.url.html"] = { fg = "${green}" },
|
||||||
["@text.uri.html"] = { fg = "${green}" },
|
["@text.uri.html"] = { fg = "${green}" },
|
||||||
|
["@tag.javascript"] = { fg = "${red}" },
|
||||||
|
["@tag.attribute"] = { fg = "${orange}", style = "italic" },
|
||||||
|
["@constructor.javascript"] = { fg = "${red}" },
|
||||||
|
-- ["@variable"] = { fg = "${fg}", style = "NONE" }, -- various variable names
|
||||||
|
["@variable.builtin"] = { fg = "${red}", style = "NONE" },
|
||||||
|
["@variable.member"] = "${cyan}",
|
||||||
|
["@variable.parameter"] = "${red}",
|
||||||
|
-- ["@property.javascript"] = { fg = "${cyan}" }, -- similar to `@field`
|
||||||
|
["@lsp.type.parameter"] = { fg = "${fg}" },
|
||||||
|
["@lsp.type.property.lua"] = { fg = "${red}" },
|
||||||
|
["@lsp.type.variable"] = { fg = "${fg}" },
|
||||||
|
NvimTreeGitDirty = { fg = "${yellow}" },
|
||||||
Pmenu = { fg = "${fg}", bg = "${bg}" },
|
Pmenu = { fg = "${fg}", bg = "${bg}" },
|
||||||
PmenuThumb = { bg = "${gray}" }, -- Popup menu: Thumb of the scrollbar.
|
PmenuThumb = { bg = "${gray}" }, -- Popup menu: Thumb of the scrollbar.
|
||||||
-- overide lualine fill color with bg color
|
-- overide lualine fill color with bg color
|
||||||
|
@ -1847,17 +1866,22 @@ return {
|
||||||
-- overide lualine_x fill color with bg color
|
-- overide lualine_x fill color with bg color
|
||||||
LualineX = { bg = "${bg}" },
|
LualineX = { bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
-- overide which-key fill color with bg color
|
||||||
WhichKey = { bg = "${bg}" },
|
-- WhichKey = { bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
WhichKeySeperator = { bg = "${bg}" },
|
-- WhichKeySeperator = { bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
WhichKeyDesc = { bg = "${bg}" },
|
-- WhichKeyDesc = { fg = "${red}" },
|
||||||
-- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
WhichKeyFloat = { bg = "${bg}" },
|
-- WhichKeyFloat = { bg = "${bg}" },
|
||||||
-- overide which-key fill color with bg color
|
WhichKeyFloat = { bg = is_transparent and "NONE" or "${bg}" },
|
||||||
WhichKeyValue = { bg = "${bg}" },
|
-- -- overide which-key fill color with bg color
|
||||||
-- overide which-key fill color with bg color
|
-- WhichKeyValue = { bg = "${bg}" },
|
||||||
WhichKeyBorder = { bg = "${bg}" },
|
-- -- overide which-key fill color with bg color
|
||||||
|
-- WhichKeyBorder = { bg = "${bg}" },
|
||||||
|
-- Folded = { bg = "NONE", fg = "${fg}" }, -- line used for closed folds
|
||||||
|
TermCursor = { bg = "${fg}" },
|
||||||
|
TSRainbowRed = { fg = "${cyan}" },
|
||||||
|
TSRainbowCyan = { fg = "${red}" },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue