feat: adapt to my needs :)
This commit is contained in:
parent
a2dda61d9c
commit
4b1e4b5b0f
@ -147,7 +147,7 @@ M.highlights.property = Highlight.new("@property", { link = gruber_hl.dark_niaga
|
|||||||
---various variable names
|
---various variable names
|
||||||
M.highlights.variable = Highlight.new("@variable", { link = vim_hl.identifier })
|
M.highlights.variable = Highlight.new("@variable", { link = vim_hl.identifier })
|
||||||
---built-in variable names (e.g. `this`)
|
---built-in variable names (e.g. `this`)
|
||||||
M.highlights.variable_builtin = Highlight.new("@variable.builtin", { link = gruber_hl.yellow })
|
M.highlights.variable_builtin = Highlight.new("@variable.builtin", { link = gruber_hl.yellow_bold })
|
||||||
|
|
||||||
---constant identifiers
|
---constant identifiers
|
||||||
M.highlights.constant = Highlight.new("@constant", { link = vim_hl.constant })
|
M.highlights.constant = Highlight.new("@constant", { link = vim_hl.constant })
|
||||||
|
@ -15,8 +15,12 @@ function M.setup()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
M.highlights.mini_diff_sign_add = Highlight.new("MiniDiffSignAdd", { fg = c.green })
|
||||||
|
M.highlights.mini_diff_sign_change = Highlight.new("MiniDiffSignChange", { fg = c.wisteria })
|
||||||
|
M.highlights.mini_diff_sign_delete = Highlight.new("MiniDiffSignDelete", { fg = c.red })
|
||||||
|
|
||||||
---Any comment
|
---Any comment
|
||||||
M.highlights.comment = Highlight.new("Comment", { fg = c.brown, italic = opts.italic.comments })
|
M.highlights.comment = Highlight.new("Comment", { fg = c["bg+3"], italic = opts.italic.comments })
|
||||||
---Used for the columns set with 'colorcolumn'
|
---Used for the columns set with 'colorcolumn'
|
||||||
M.highlights.color_column = Highlight.new("ColorColumn", { bg = c["bg+2"] })
|
M.highlights.color_column = Highlight.new("ColorColumn", { bg = c["bg+2"] })
|
||||||
---Placeholder characters substituted for concealed text (see 'conceallevel')
|
---Placeholder characters substituted for concealed text (see 'conceallevel')
|
||||||
@ -30,7 +34,7 @@ M.highlights.cursor_im = Highlight.new("CursorIM", { fg = c.none, bg = c.yellow
|
|||||||
---Screen-column at the cursor, when 'cursorcolumn' is set.
|
---Screen-column at the cursor, when 'cursorcolumn' is set.
|
||||||
M.highlights.cursor_column = Highlight.new("CursorColumn", { bg = c["bg+2"] })
|
M.highlights.cursor_column = Highlight.new("CursorColumn", { bg = c["bg+2"] })
|
||||||
---Screen-line at the cursor, when 'cursorline' is set. Low-priority if foreground (ctermfg OR guifg) is not set.
|
---Screen-line at the cursor, when 'cursorline' is set. Low-priority if foreground (ctermfg OR guifg) is not set.
|
||||||
M.highlights.cursor_line = Highlight.new("CursorLine", { bg = c["bg+1"] })
|
M.highlights.cursor_line = Highlight.new("CursorLine", { bg = c.bg })
|
||||||
---Directory names (and other special names in listings)
|
---Directory names (and other special names in listings)
|
||||||
M.highlights.directory = Highlight.new("Directory", { link = gruber_hl.niagara_bold })
|
M.highlights.directory = Highlight.new("Directory", { link = gruber_hl.niagara_bold })
|
||||||
|
|
||||||
@ -71,7 +75,7 @@ M.highlights.sign_column = Highlight.new("SignColumn", { fg = c["bg+2"], bg = c.
|
|||||||
---Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
---Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
||||||
M.highlights.line_number = Highlight.new("LineNr", { fg = c["bg+4"] })
|
M.highlights.line_number = Highlight.new("LineNr", { fg = c["bg+4"] })
|
||||||
---Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
---Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
||||||
M.highlights.cursor_line_number = Highlight.new("CursorLineNr", { fg = c.yellow })
|
M.highlights.cursor_line_number = Highlight.new("CursorLineNr", { fg = c.yellow, bold = opts.bold })
|
||||||
---The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
|
---The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
|
||||||
M.highlights.match_paren = Highlight.new("MatchParen", { fg = c.fg, bg = c.wisteria })
|
M.highlights.match_paren = Highlight.new("MatchParen", { fg = c.fg, bg = c.wisteria })
|
||||||
---'showmode' message (e.g., "---INSERT ---")
|
---'showmode' message (e.g., "---INSERT ---")
|
||||||
@ -85,13 +89,13 @@ M.highlights.more_msg = Highlight.new("MoreMsg", { fg = c["fg+2"] })
|
|||||||
---'@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|.
|
---'@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|.
|
||||||
M.highlights.non_text = Highlight.new("NonText", { link = M.highlights.end_of_buffer })
|
M.highlights.non_text = Highlight.new("NonText", { link = M.highlights.end_of_buffer })
|
||||||
---Normal text
|
---Normal text
|
||||||
M.highlights.normal = Highlight.new("Normal", { fg = c.fg, bg = c.bg })
|
M.highlights.normal = Highlight.new("Normal", { fg = c.fg, bg = c.none })
|
||||||
---Normal text in non-current windows
|
---Normal text in non-current windows
|
||||||
M.highlights.normal_non_current = Highlight.new("NormalNC", { fg = c.fg, bg = c.bg })
|
M.highlights.normal_non_current = Highlight.new("NormalNC", { fg = c.fg, bg = c.none })
|
||||||
---Normal text in sidebar
|
---Normal text in sidebar
|
||||||
M.highlights.normal_sidebar = Highlight.new("NormalSB", { fg = c.fg, bg = c["bg-1"] })
|
M.highlights.normal_sidebar = Highlight.new("NormalSB", { fg = c.fg, bg = c["bg-1"] })
|
||||||
---Normal text in floating windows.
|
---Normal text in floating windows.
|
||||||
M.highlights.normal_float = Highlight.new("NormalFloat", { fg = c.fg, bg = c["bg+1"] })
|
M.highlights.normal_float = Highlight.new("NormalFloat", { fg = c.fg, bg = c.none })
|
||||||
M.highlights.float_border = Highlight.new("FloatBorder", { fg = c["bg+4"], bg = c.none })
|
M.highlights.float_border = Highlight.new("FloatBorder", { fg = c["bg+4"], bg = c.none })
|
||||||
|
|
||||||
-- Popup
|
-- Popup
|
||||||
@ -151,7 +155,7 @@ M.highlights.tab_line_sel = Highlight.new("TabLineSel", { fg = c.yellow, bg = c.
|
|||||||
---Titles for output from ":set all", ":autocmd" etc.
|
---Titles for output from ":set all", ":autocmd" etc.
|
||||||
M.highlights.title = Highlight.new("Title", { link = gruber_hl.quartz })
|
M.highlights.title = Highlight.new("Title", { link = gruber_hl.quartz })
|
||||||
---Visual mode selection
|
---Visual mode selection
|
||||||
M.highlights.visual = Highlight.new("Visual", { bg = c["bg+2"], reverse = opts.invert.visual })
|
M.highlights.visual = Highlight.new("Visual", { bg = c["bg+1"], reverse = opts.invert.visual })
|
||||||
---Visual mode selection when vim is "Not Owning the Selection".
|
---Visual mode selection when vim is "Not Owning the Selection".
|
||||||
M.highlights.visual_nos = Highlight.new("VisualNOS", { link = gruber_hl.red })
|
M.highlights.visual_nos = Highlight.new("VisualNOS", { link = gruber_hl.red })
|
||||||
---Warning messages
|
---Warning messages
|
||||||
@ -237,7 +241,7 @@ M.highlights.italic = Highlight.new("Italic", { italic = true })
|
|||||||
---Error = Highlight.new("Error", { fg = c.error }) ---(preferred) any erroneous construct
|
---Error = Highlight.new("Error", { fg = c.error }) ---(preferred) any erroneous construct
|
||||||
|
|
||||||
---(preferred) anything that needs extra attention; mostly the keywords TODO FIXME and XXX
|
---(preferred) anything that needs extra attention; mostly the keywords TODO FIXME and XXX
|
||||||
M.highlights.todo = Highlight.new("Todo", { fg = c.bg, bg = c.yellow })
|
M.highlights.todo = Highlight.new("Todo", { fg = c.yellow, bold = true })
|
||||||
|
|
||||||
-- Markdown
|
-- Markdown
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user