Add new groups (#11)

CurSearch, CursuroLineFold, CursorLineSign, LineNrAbove, LineNrBelow, WinBar, WinBarNC, DiagnosticOk*
This commit is contained in:
pseudoparenchymatous 2023-06-26 09:23:24 +08:00 committed by GitHub
parent c4a16b83b3
commit bb8e81073a
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -64,6 +64,7 @@ local theme = lush(function(injected_functions)
-- ColorColumn { }, -- Columns set with 'colorcolumn' -- ColorColumn { }, -- Columns set with 'colorcolumn'
-- Conceal { }, -- Placeholder characters substituted for concealed text (see 'conceallevel') -- Conceal { }, -- Placeholder characters substituted for concealed text (see 'conceallevel')
-- Cursor { }, -- Character under the cursor -- Cursor { }, -- Character under the cursor
-- CurSearch { }, -- Highlighting a search pattern under the cursor (see 'hlsearch')
-- lCursor { }, -- Character under the cursor when |language-mapping| is used (see 'guicursor') -- lCursor { }, -- Character under the cursor when |language-mapping| is used (see 'guicursor')
-- CursorIM { }, -- Like Cursor, but used when in IME mode |CursorIM| -- CursorIM { }, -- Like Cursor, but used when in IME mode |CursorIM|
-- CursorColumn { }, -- Screen-column at the cursor, when 'cursorcolumn' is set. -- CursorColumn { }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
@ -84,7 +85,11 @@ local theme = lush(function(injected_functions)
-- IncSearch { }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c" -- IncSearch { }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
-- Substitute { }, -- |:substitute| replacement text highlighting -- Substitute { }, -- |:substitute| replacement text highlighting
-- LineNr { }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set. -- LineNr { }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
-- LineNrAbove { }, -- Line number for when the 'relativenumber' option is set, above the cursor line
-- LineNrBelow { }, -- Line number for when the 'relativenumber' option is set, below the cursor line
-- CursorLineNr { }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line. -- CursorLineNr { }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
-- CursorLineFold { }, -- Like FoldColumn when 'cursorline' is set for the cursor line
-- CursorLineSign { }, -- Like SignColumn when 'cursorline' is set for the cursor line
-- MatchParen { }, -- Character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| -- MatchParen { }, -- Character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
-- ModeMsg { }, -- 'showmode' message (e.g., "-- INSERT -- ") -- ModeMsg { }, -- 'showmode' message (e.g., "-- INSERT -- ")
-- MsgArea { }, -- Area for messages and cmdline -- MsgArea { }, -- Area for messages and cmdline
@ -93,9 +98,15 @@ local theme = lush(function(injected_functions)
-- NonText { }, -- '@' 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|. -- NonText { }, -- '@' 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|.
-- Normal { }, -- Normal text -- Normal { }, -- Normal text
-- NormalFloat { }, -- Normal text in floating windows. -- NormalFloat { }, -- Normal text in floating windows.
-- FloatBorder { }, -- Border of floating windows.
-- FloatTitle { }, -- Title of floating windows.
-- NormalNC { }, -- normal text in non-current windows -- NormalNC { }, -- normal text in non-current windows
-- Pmenu { }, -- Popup menu: Normal item. -- Pmenu { }, -- Popup menu: Normal item.
-- PmenuSel { }, -- Popup menu: Selected item. -- PmenuSel { }, -- Popup menu: Selected item.
-- PmenuKind { }, -- Popup menu: Normal item "kind"
-- PmenuKindSel { }, -- Popup menu: Selected item "kind"
-- PmenuExtra { }, -- Popup menu: Normal item "extra text"
-- PmenuExtraSel { }, -- Popup menu: Selected item "extra text"
-- PmenuSbar { }, -- Popup menu: Scrollbar. -- PmenuSbar { }, -- Popup menu: Scrollbar.
-- PmenuThumb { }, -- Popup menu: Thumb of the scrollbar. -- PmenuThumb { }, -- Popup menu: Thumb of the scrollbar.
-- Question { }, -- |hit-enter| prompt and yes/no questions -- Question { }, -- |hit-enter| prompt and yes/no questions
@ -118,6 +129,8 @@ local theme = lush(function(injected_functions)
-- Whitespace { }, -- "nbsp", "space", "tab" and "trail" in 'listchars' -- Whitespace { }, -- "nbsp", "space", "tab" and "trail" in 'listchars'
-- Winseparator { }, -- Separator between window splits. Inherts from |hl-VertSplit| by default, which it will replace eventually. -- Winseparator { }, -- Separator between window splits. Inherts from |hl-VertSplit| by default, which it will replace eventually.
-- WildMenu { }, -- Current match in 'wildmenu' completion -- WildMenu { }, -- Current match in 'wildmenu' completion
-- WinBar { }, -- Window bar of current window
-- WinBarNC { }, -- Window bar of not-current windows
-- Common vim syntax groups used for all kinds of code and markup. -- Common vim syntax groups used for all kinds of code and markup.
-- Commented-out groups should chain up to their preferred (*) group -- Commented-out groups should chain up to their preferred (*) group
@ -189,22 +202,27 @@ local theme = lush(function(injected_functions)
-- DiagnosticWarn { } , -- Used as the base highlight group. Other Diagnostic highlights link to this by default (except Underline) -- DiagnosticWarn { } , -- Used as the base highlight group. Other Diagnostic highlights link to this by default (except Underline)
-- DiagnosticInfo { } , -- Used as the base highlight group. Other Diagnostic highlights link to this by default (except Underline) -- DiagnosticInfo { } , -- Used as the base highlight group. Other Diagnostic highlights link to this by default (except Underline)
-- DiagnosticHint { } , -- Used as the base highlight group. Other Diagnostic highlights link to this by default (except Underline) -- DiagnosticHint { } , -- Used as the base highlight group. Other Diagnostic highlights link to this by default (except Underline)
-- DiagnosticOk { } , -- Used as the base highlight group. Other Diagnostic highlights link to this by default (except Underline)
-- DiagnosticVirtualTextError { } , -- Used for "Error" diagnostic virtual text. -- DiagnosticVirtualTextError { } , -- Used for "Error" diagnostic virtual text.
-- DiagnosticVirtualTextWarn { } , -- Used for "Warn" diagnostic virtual text. -- DiagnosticVirtualTextWarn { } , -- Used for "Warn" diagnostic virtual text.
-- DiagnosticVirtualTextInfo { } , -- Used for "Info" diagnostic virtual text. -- DiagnosticVirtualTextInfo { } , -- Used for "Info" diagnostic virtual text.
-- DiagnosticVirtualTextHint { } , -- Used for "Hint" diagnostic virtual text. -- DiagnosticVirtualTextHint { } , -- Used for "Hint" diagnostic virtual text.
-- DiagnosticVirtualTextOk { } , -- Used for "Ok" diagnostic virtual text.
-- DiagnosticUnderlineError { } , -- Used to underline "Error" diagnostics. -- DiagnosticUnderlineError { } , -- Used to underline "Error" diagnostics.
-- DiagnosticUnderlineWarn { } , -- Used to underline "Warn" diagnostics. -- DiagnosticUnderlineWarn { } , -- Used to underline "Warn" diagnostics.
-- DiagnosticUnderlineInfo { } , -- Used to underline "Info" diagnostics. -- DiagnosticUnderlineInfo { } , -- Used to underline "Info" diagnostics.
-- DiagnosticUnderlineHint { } , -- Used to underline "Hint" diagnostics. -- DiagnosticUnderlineHint { } , -- Used to underline "Hint" diagnostics.
-- DiagnosticUnderlineOk { } , -- Used to underline "Ok" diagnostics.
-- DiagnosticFloatingError { } , -- Used to color "Error" diagnostic messages in diagnostics float. See |vim.diagnostic.open_float()| -- DiagnosticFloatingError { } , -- Used to color "Error" diagnostic messages in diagnostics float. See |vim.diagnostic.open_float()|
-- DiagnosticFloatingWarn { } , -- Used to color "Warn" diagnostic messages in diagnostics float. -- DiagnosticFloatingWarn { } , -- Used to color "Warn" diagnostic messages in diagnostics float.
-- DiagnosticFloatingInfo { } , -- Used to color "Info" diagnostic messages in diagnostics float. -- DiagnosticFloatingInfo { } , -- Used to color "Info" diagnostic messages in diagnostics float.
-- DiagnosticFloatingHint { } , -- Used to color "Hint" diagnostic messages in diagnostics float. -- DiagnosticFloatingHint { } , -- Used to color "Hint" diagnostic messages in diagnostics float.
-- DiagnosticFloatingOk { } , -- Used to color "Ok" diagnostic messages in diagnostics float.
-- DiagnosticSignError { } , -- Used for "Error" signs in sign column. -- DiagnosticSignError { } , -- Used for "Error" signs in sign column.
-- DiagnosticSignWarn { } , -- Used for "Warn" signs in sign column. -- DiagnosticSignWarn { } , -- Used for "Warn" signs in sign column.
-- DiagnosticSignInfo { } , -- Used for "Info" signs in sign column. -- DiagnosticSignInfo { } , -- Used for "Info" signs in sign column.
-- DiagnosticSignHint { } , -- Used for "Hint" signs in sign column. -- DiagnosticSignHint { } , -- Used for "Hint" signs in sign column.
-- DiagnosticSignOk { } , -- Used for "Ok" signs in sign column.
-- Tree-Sitter syntax groups. -- Tree-Sitter syntax groups.
-- --