dev: added skeleton for integrations and globals for mapper

dev-assets
Pocco81 3 years ago
parent bbd93a126e
commit 7de4ee6690

@ -0,0 +1,31 @@
return {
-- These groups are for the native LSP client. Some other LSP clients may
-- use these groups, or use their own. Consult your LSP client's
-- documentation.
LspReferenceText = {bg = t.fg_gutter}, -- used for highlighting "text" references
LspReferenceRead = {bg = t.fg_gutter}, -- used for highlighting "read" references
LspReferenceWrite = {bg = t.fg_gutter}, -- used for highlighting "write" references
-- hightlight diagnostics in numberline
LspDiagnosticsDefaultError = {fg = t.error}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultWarning = {fg = t.warning}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultInformation = {fg = t.info}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultHint = {fg = t.hint}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspSignatureActiveParameter = {fg = t.orange},
-- LspDiagnosticsFloatingError = { }, -- Used to color "Error" diagnostic messages in diagnostics float
-- LspDiagnosticsFloatingWarning = { }, -- Used to color "Warning" diagnostic messages in diagnostics float
-- LspDiagnosticsFloatingInformation = { }, -- Used to color "Information" diagnostic messages in diagnostics float
-- LspDiagnosticsFloatingHint = { }, -- Used to color "Hint" diagnostic messages in diagnostics float
LspDiagnosticsError = {fg = t.error},
LspDiagnosticsWarning = {fg = t.warning},
LspDiagnosticsInformation = {fg = t.info},
LspDiagnosticsHint = {fg = t.hint},
LspDiagnosticsVirtualTextError = {fg = t.error, style = opts.integrations.native_lsp.styles.errors}, -- Used for "Error" diagnostic virtual text
LspDiagnosticsVirtualTextWarning = {fg = t.warning, style = opts.integrations.native_lsp.styles.warnings}, -- Used for "Warning" diagnostic virtual text
LspDiagnosticsVirtualTextInformation = {fg = t.info, style = opts.integrations.native_lsp.styles.information}, -- Used for "Information" diagnostic virtual text
LspDiagnosticsVirtualTextHint = {fg = t.hint, style = opts.integrations.native_lsp.styles.hints}, -- Used for "Hint" diagnostic virtual text
LspDiagnosticsUnderlineError = {style = "underline", sp = t.error}, -- Used to underline "Error" diagnostics
LspDiagnosticsUnderlineWarning = {style = "underline", sp = t.warning}, -- Used to underline "Warning" diagnostics
LspDiagnosticsUnderlineInformation = {style = "underline", sp = t.info}, -- Used to underline "Information" diagnostics
LspDiagnosticsUnderlineHint = {style = "underline", sp = t.hint}, -- Used to underline "Hint" diagnostics
}

@ -1,103 +1,102 @@
local util = require("catppuccino.utils.util") local util = require("catppuccino.utils.util")
local opts = require("catppuccino.config").options
local M = {} local M = {}
local function get_base(t) local function get_base()
return { return {
Comment = {fg = t.comment, style = opts.styles.comments}, -- any comment Comment = {fg = cpt.comment, style = cpc.styles.comments}, -- any comment
ColorColumn = {bg = t.bg_visual}, -- used for the columns set with 'colorcolumn' ColorColumn = {bg = cpt.bg_visual}, -- used for the columns set with 'colorcolumn'
Conceal = {fg = t.black}, -- placeholder characters substituted for concealed text (see 'conceallevel') Conceal = {fg = cpt.black}, -- placeholder characters substituted for concealed text (see 'conceallevel')
Cursor = {fg = t.bg, bg = t.fg}, -- character under the cursor Cursor = {fg = cpt.bg, bg = cpt.fg}, -- character under the cursor
lCursor = {fg = t.bg, bg = t.fg}, -- the character under the cursor when |language-mapping| is used (see 'guicursor') lCursor = {fg = cpt.bg, bg = cpt.fg}, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
CursorIM = {fg = t.bg, bg = t.fg}, -- like Cursor, but used when in IME mode |CursorIM| CursorIM = {fg = cpt.bg, bg = cpt.fg}, -- like Cursor, but used when in IME mode |CursorIM|
CursorColumn = {bg = t.bg_highlight}, -- Screen-column at the cursor, when 'cursorcolumn' is set. CursorColumn = {bg = cpt.bg_highlight}, -- Screen-column at the cursor, when 'cursorcolumn' is secpt.
CursorLine = {bg = t.bg_highlight}, -- Screen-line at the cursor, when 'cursorline' is set. Low-priority if foreground (ctermfg OR guifg) is not set. CursorLine = {bg = cpt.bg_highlight}, -- Screen-line at the cursor, when 'cursorline' is secpt. Low-priority if foreground (ctermfg OR guifg) is not secpt.
Directory = {fg = t.blue}, -- directory names (and other special names in listings) Directory = {fg = cpt.blue}, -- directory names (and other special names in listings)
DiffAdd = {bg = t.diff.add}, -- diff mode: Added line |diff.txt| DiffAdd = {bg = cpt.diff.add}, -- diff mode: Added line |diff.txt|
DiffChange = {bg = t.diff.change}, -- diff mode: Changed line |diff.txt| DiffChange = {bg = cpt.diff.change}, -- diff mode: Changed line |diff.txt|
DiffDelete = {bg = t.diff.delete}, -- diff mode: Deleted line |diff.txt| DiffDelete = {bg = cpt.diff.delete}, -- diff mode: Deleted line |diff.txt|
DiffText = {bg = t.diff.text}, -- diff mode: Changed text within a changed line |diff.txt| DiffText = {bg = cpt.diff.text}, -- diff mode: Changed text within a changed line |diff.txt|
EndOfBuffer = {fg = t.bg}, -- filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|. EndOfBuffer = {fg = cpt.bg}, -- filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|.
TermCursor = {}, -- cursor in a focused terminal TermCursor = {}, -- cursor in a focused terminal
TermCursorNC = {}, -- cursor in an unfocused terminal TermCursorNC = {}, -- cursor in an unfocused terminal
ErrorMsg = {fg = t.error}, -- error messages on the command line ErrorMsg = {fg = cpt.error}, -- error messages on the command line
VertSplit = {fg = t.border}, -- the column separating vertically split windows VertSplit = {fg = cpt.border}, -- the column separating vertically split windows
Folded = {fg = t.blue, bg = t.fg_gutter}, -- line used for closed folds Folded = {fg = cpt.blue, bg = cpt.fg_gutter}, -- line used for closed folds
FoldColumn = {bg = t.bg, fg = t.comment}, -- 'foldcolumn' FoldColumn = {bg = cpt.bg, fg = cpt.comment}, -- 'foldcolumn'
SignColumn = {bg = opts.transparency and t.none or t.bg, fg = t.fg_gutter}, -- column where |signs| are displayed SignColumn = {bg = cpc.transparency and cpt.none or cpt.bg, fg = cpt.fg_gutter}, -- column where |signs| are displayed
SignColumnSB = {bg = t.bg_sidebar, fg = t.fg_gutter}, -- column where |signs| are displayed SignColumnSB = {bg = cpt.bg_sidebar, fg = cpt.fg_gutter}, -- column where |signs| are displayed
Substitute = {bg = t.red, fg = t.black}, -- |:substitute| replacement text highlighting Substitute = {bg = cpt.red, fg = cpt.black}, -- |:substitute| replacement text highlighting
LineNr = {fg = t.fg_gutter}, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set. LineNr = {fg = cpt.fg_gutter}, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is secpt.
CursorLineNr = {fg = t.fg_alt}, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line. CursorLineNr = {fg = cpt.fg_alt}, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
MatchParen = {fg = t.orange, style = "bold"}, -- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| MatchParen = {fg = cpt.orange, style = "bold"}, -- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
ModeMsg = {fg = t.fg_alt, style = "bold"}, -- 'showmode' message (e.g., "-- INSERT -- ") ModeMsg = {fg = cpt.fg_alt, style = "bold"}, -- 'showmode' message (e.g., "-- INSERT -- ")
MsgArea = {fg = t.fg_alt}, -- Area for messages and cmdline MsgArea = {fg = cpt.fg_alt}, -- Area for messages and cmdline
MsgSeparator = {}, -- Separator for scrolled messages, `msgsep` flag of 'display' MsgSeparator = {}, -- Separator for scrolled messages, `msgsep` flag of 'display'
MoreMsg = {fg = t.blue}, -- |more-prompt| MoreMsg = {fg = cpt.blue}, -- |more-prompt|
NonText = {fg = t.comment}, -- '@' 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 = {fg = cpt.comment}, -- '@' 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 = {fg = t.fg, bg = opts.transparency and t.none or t.bg}, -- normal text Normal = {fg = cpt.fg, bg = cpc.transparency and cpt.none or cpt.bg}, -- normal text
NormalNC = {fg = t.fg, bg = opts.transparency and t.none or t.bg}, -- normal text in non-current windows NormalNC = {fg = cpt.fg, bg = cpc.transparency and cpt.none or cpt.bg}, -- normal text in non-current windows
NormalSB = {fg = t.fg_sidebar, bg = t.bg_sidebar}, -- normal text in non-current windows NormalSB = {fg = cpt.fg_sidebar, bg = cpt.bg_sidebar}, -- normal text in non-current windows
NormalFloat = {fg = t.fg, bg = t.bg_float}, -- Normal text in floating windows. NormalFloat = {fg = cpt.fg, bg = cpt.bg_float}, -- Normal text in floating windows.
FloatBorder = {fg = t.border_highlight}, FloatBorder = {fg = cpt.border_highlight},
Pmenu = {bg = t.bg_popup, fg = t.fg}, -- Popup menu: normal item. Pmenu = {bg = cpt.bg_popup, fg = cpt.fg}, -- Popup menu: normal item.
PmenuSel = {fg = t.cyan, bg = util.darken(t.fg_gutter, 0.8)}, -- Popup menu: selected item. PmenuSel = {fg = cpt.cyan, bg = util.darken(cpt.fg_gutter, 0.8)}, -- Popup menu: selected item.
PmenuSbar = {bg = util.lighten(t.bg_popup, 0.95)}, -- Popup menu: scrollbar. PmenuSbar = {bg = util.lighten(cpt.bg_popup, 0.95)}, -- Popup menu: scrollbar.
PmenuThumb = {bg = t.fg_gutter}, -- Popup menu: Thumb of the scrollbar. PmenuThumb = {bg = cpt.fg_gutter}, -- Popup menu: Thumb of the scrollbar.
Question = {fg = t.blue}, -- |hit-enter| prompt and yes/no questions Question = {fg = cpt.blue}, -- |hit-enter| prompt and yes/no questions
QuickFixLine = {bg = t.bg_visual, style = "bold"}, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there. QuickFixLine = {bg = cpt.bg_visual, style = "bold"}, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there.
Search = {bg = t.bg_search, fg = t.fg}, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out. Search = {bg = cpt.bg_search, fg = cpt.fg}, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand oucpt.
IncSearch = {bg = t.cyan, fg = t.black}, -- 'incsearch' highlighting; also used for the text replaced with ":s///c" IncSearch = {bg = cpt.cyan, fg = cpt.black}, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
SpecialKey = {fg = t.black}, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace| SpecialKey = {fg = cpt.black}, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace|
SpellBad = {sp = t.error, style = "undercurl"}, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise. SpellBad = {sp = cpt.error, style = "undercurl"}, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise.
SpellCap = {sp = t.warning, style = "undercurl"}, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise. SpellCap = {sp = cpt.warning, style = "undercurl"}, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.
SpellLocal = {sp = t.info, style = "undercurl"}, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise. SpellLocal = {sp = cpt.info, style = "undercurl"}, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise.
SpellRare = {sp = t.hint, style = "undercurl"}, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise. SpellRare = {sp = cpt.hint, style = "undercurl"}, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise.
StatusLine = {fg = t.fg_sidebar, bg = t.bg_statusline}, -- status line of current window StatusLine = {fg = cpt.fg_sidebar, bg = cpt.bg_statusline}, -- status line of current window
StatusLineNC = {fg = t.fg_gutter, bg = t.bg_statusline}, -- status lines of not-current windows Note: if this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window. StatusLineNC = {fg = cpt.fg_gutter, bg = cpt.bg_statusline}, -- status lines of not-current windows Note: if this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window.
TabLine = {bg = t.bg_statusline, fg = t.fg_gutter}, -- tab pages line, not active tab page label TabLine = {bg = cpt.bg_statusline, fg = cpt.fg_gutter}, -- tab pages line, not active tab page label
TabLineFill = {bg = t.black}, -- tab pages line, where there are no labels TabLineFill = {bg = cpt.black}, -- tab pages line, where there are no labels
TabLineSel = {fg = t.fg_alt, bg = t.fg_gutter}, -- tab pages line, active tab page label TabLineSel = {fg = cpt.fg_alt, bg = cpt.fg_gutter}, -- tab pages line, active tab page label
Title = {fg = t.blue, style = "bold"}, -- titles for output from ":set all", ":autocmd" ett. Title = {fg = cpt.blue, style = "bold"}, -- titles for output from ":set all", ":autocmd" etcpt.
Visual = {bg = t.bg_visual}, -- Visual mode selection Visual = {bg = cpt.bg_visual}, -- Visual mode selection
VisualNOS = {bg = t.bg_visual}, -- Visual mode selection when vim is "Not Owning the Selection". VisualNOS = {bg = cpt.bg_visual}, -- Visual mode selection when vim is "Not Owning the Selection".
WarningMsg = {fg = t.warning}, -- warning messages WarningMsg = {fg = cpt.warning}, -- warning messages
Whitespace = {fg = t.fg_gutter}, -- "nbsp", "space", "tab" and "trail" in 'listchars' Whitespace = {fg = cpt.fg_gutter}, -- "nbsp", "space", "tab" and "trail" in 'listchars'
WildMenu = {bg = t.bg_visual}, -- current match in 'wildmenu' completion WildMenu = {bg = cpt.bg_visual}, -- current match in 'wildmenu' completion
-- These groups are not listed as default vim groups, -- These groups are not listed as default vim groups,
-- but they are defacto standard group names for syntax highlighting. -- but they are defacto standard group names for syntax highlighting.
-- commented out groups should chain up to their "preferred" group by -- commented out groups should chain up to their "preferred" group by
-- default, -- default,
-- Uncomment and edit if you want more specific syntax highlighting. -- Uncomment and edit if you want more specific syntax highlighting.
Constant = {fg = t.orange}, -- (preferred) any constant Constant = {fg = cpt.orange}, -- (preferred) any constant
String = {fg = t.green, style = opts.styles.strings}, -- a string constant: "this is a string" String = {fg = cpt.green, style = cpc.styles.strings}, -- a string constant: "this is a string"
Character = {fg = t.green}, -- a character constant: 'c', '\n' Character = {fg = cpt.green}, -- a character constant: 'c', '\n'
Number = {fg = t.orange_br}, -- a number constant: 234, 0xff Number = {fg = cpt.orange_br}, -- a number constant: 234, 0xff
Float = {fg = t.orange_br}, -- a floating point constant: 2.3e10 Float = {fg = cpt.orange_br}, -- a floating point constant: 2.3e10
Boolean = {fg = t.orange_br}, -- a boolean constant: TRUE, false Boolean = {fg = cpt.orange_br}, -- a boolean constant: TRUE, false
Identifier = {fg = t.cyan, style = opts.styles.variables}, -- (preferred) any variable name Identifier = {fg = cpt.cyan, style = cpc.styles.variables}, -- (preferred) any variable name
Function = {fg = t.blue, style = opts.styles.fuctions}, -- function name (also: methods for classes) Function = {fg = cpt.blue, style = cpc.styles.fuctions}, -- function name (also: methods for classes)
Statement = {fg = t.magenta_br}, -- (preferred) any statement Statement = {fg = cpt.magenta_br}, -- (preferred) any statement
Conditional = {fg = t.red}, -- if, then, else, endif, switch, ett. Conditional = {fg = cpt.red}, -- if, then, else, endif, switch, etcpt.
Repeat = {fg = t.magenta_br}, -- for, do, while, ett. Repeat = {fg = cpt.magenta_br}, -- for, do, while, etcpt.
Label = {fg = t.magenta_br}, -- case, default, ett. Label = {fg = cpt.magenta_br}, -- case, default, etcpt.
Operator = {fg = t.fg_alt}, -- "sizeof", "+", "*", ett. Operator = {fg = cpt.fg_alt}, -- "sizeof", "+", "*", etcpt.
Keyword = {fg = t.magenta, style = opts.styles.keywords}, -- any other keyword Keyword = {fg = cpt.magenta, style = cpc.styles.keywords}, -- any other keyword
-- Exception = { }, -- try, catch, throw -- Exception = { }, -- try, catch, throw
PreProc = {fg = t.pink}, -- (preferred) generic Preprocessor PreProc = {fg = cpt.pink}, -- (preferred) generic Preprocessor
Include = {fg = t.pink}, -- preprocessor #include Include = {fg = cpt.pink}, -- preprocessor #include
-- Define = { }, -- preprocessor #define -- Define = { }, -- preprocessor #define
-- Macro = { }, -- same as Define -- Macro = { }, -- same as Define
-- PreCondit = { }, -- preprocessor #if, #else, #endif, ett. -- PreCondit = { }, -- preprocessor #if, #else, #endif, etcpt.
Type = {fg = t.yellow}, -- (preferred) int, long, char, ett. Type = {fg = cpt.yellow}, -- (preferred) int, long, char, etcpt.
StorageClass = {fg = t.yellow}, -- static, register, volatile, ett. StorageClass = {fg = cpt.yellow}, -- static, register, volatile, etcpt.
Structure = {fg = t.yellow}, -- struct, union, enum, ett. Structure = {fg = cpt.yellow}, -- struct, union, enum, etcpt.
Typedef = {fg = t.yellow}, -- A typedef Typedef = {fg = cpt.yellow}, -- A typedef
Special = {fg = t.blue}, -- (preferred) any special symbol Special = {fg = cpt.blue}, -- (preferred) any special symbol
-- SpecialChar = { }, -- special character in a constant -- SpecialChar = { }, -- special character in a constant
-- Tag = { }, -- you can use CTRL-] on this -- Tag = { }, -- you can use CTRL-] on this
-- Delimiter = { }, -- character that needs attention -- Delimiter = { }, -- character that needs attention
@ -110,60 +109,60 @@ local function get_base(t)
-- ("Ignore", below, may be invisible...) -- ("Ignore", below, may be invisible...)
-- Ignore = { }, -- (preferred) left blank, hidden |hl-Ignore| -- Ignore = { }, -- (preferred) left blank, hidden |hl-Ignore|
Error = {fg = t.error}, -- (preferred) any erroneous construct Error = {fg = cpt.error}, -- (preferred) any erroneous construct
Todo = {bg = t.yellow, fg = t.bg}, -- (preferred) anything that needs extra attention; mostly the keywords TODO FIXME and XXX Todo = {bg = cpt.yellow, fg = cpt.bg}, -- (preferred) anything that needs extra attention; mostly the keywords TODO FIXME and XXX
qfLineNr = {fg = t.yellow}, qfLineNr = {fg = cpt.yellow},
qfFileName = {fg = t.blue}, qfFileName = {fg = cpt.blue},
htmlH1 = {fg = t.magenta, style = "bold"}, htmlH1 = {fg = cpt.magenta, style = "bold"},
htmlH2 = {fg = t.blue, style = "bold"}, htmlH2 = {fg = cpt.blue, style = "bold"},
-- mkdHeading = { fg = t.orange, style = "bold" }, -- mkdHeading = { fg = cpt.orange, style = "bold" },
-- mkdCode = { bg = t.terminal_black, fg = t.fg }, -- mkdCode = { bg = cpt.terminal_black, fg = cpt.fg },
mkdCodeDelimiter = {bg = t.terminal_black, fg = t.fg}, mkdCodeDelimiter = {bg = cpt.terminal_black, fg = cpt.fg},
mkdCodeStart = {fg = t.cyan, style = "bold"}, mkdCodeStart = {fg = cpt.cyan, style = "bold"},
mkdCodeEnd = {fg = t.cyan, style = "bold"}, mkdCodeEnd = {fg = cpt.cyan, style = "bold"},
-- mkdLink = { fg = t.blue, style = "underline" }, -- mkdLink = { fg = cpt.blue, style = "underline" },
markdownHeadingDelimiter = {fg = t.orange, style = "bold"}, markdownHeadingDelimiter = {fg = cpt.orange, style = "bold"},
markdownCode = {fg = t.cyan}, markdownCode = {fg = cpt.cyan},
markdownCodeBlock = {fg = t.cyan}, markdownCodeBlock = {fg = cpt.cyan},
markdownH1 = {fg = t.magenta, style = "bold"}, markdownH1 = {fg = cpt.magenta, style = "bold"},
markdownH2 = {fg = t.blue, style = "bold"}, markdownH2 = {fg = cpt.blue, style = "bold"},
markdownLinkText = {fg = t.blue, style = "underline"}, markdownLinkText = {fg = cpt.blue, style = "underline"},
debugPC = {bg = t.bg_sidebar}, -- used for highlighting the current line in terminal-debug debugPC = {bg = cpt.bg_sidebar}, -- used for highlighting the current line in terminal-debug
debugBreakpoint = {bg = util.darken(t.info, 0.1), fg = t.info}, -- used for breakpoint colors in terminal-debug debugBreakpoint = {bg = util.darken(cpt.info, 0.1), fg = cpt.info}, -- used for breakpoint colors in terminal-debug
-- These groups are for the native LSP client. Some other LSP clients may -- These groups are for the native LSP cliencpt. Some other LSP clients may
-- use these groups, or use their own. Consult your LSP client's -- use these groups, or use their own. Consult your LSP client's
-- documentation. -- documentation.
LspReferenceText = {bg = t.fg_gutter}, -- used for highlighting "text" references LspReferenceText = {bg = cpt.fg_gutter}, -- used for highlighting "text" references
LspReferenceRead = {bg = t.fg_gutter}, -- used for highlighting "read" references LspReferenceRead = {bg = cpt.fg_gutter}, -- used for highlighting "read" references
LspReferenceWrite = {bg = t.fg_gutter}, -- used for highlighting "write" references LspReferenceWrite = {bg = cpt.fg_gutter}, -- used for highlighting "write" references
-- hightlight diagnostics in numberline -- hightlight diagnostics in numberline
LspDiagnosticsDefaultError = {fg = t.error}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultError = {fg = cpt.error}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultWarning = {fg = t.warning}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultWarning = {fg = cpt.warning}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultInformation = {fg = t.info}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultInformation = {fg = cpt.info}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultHint = {fg = t.hint}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultHint = {fg = cpt.hint}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspSignatureActiveParameter = {fg = t.orange}, LspSignatureActiveParameter = {fg = cpt.orange},
-- LspDiagnosticsFloatingError = { }, -- Used to color "Error" diagnostic messages in diagnostics float -- LspDiagnosticsFloatingError = { }, -- Used to color "Error" diagnostic messages in diagnostics float
-- LspDiagnosticsFloatingWarning = { }, -- Used to color "Warning" diagnostic messages in diagnostics float -- LspDiagnosticsFloatingWarning = { }, -- Used to color "Warning" diagnostic messages in diagnostics float
-- LspDiagnosticsFloatingInformation = { }, -- Used to color "Information" diagnostic messages in diagnostics float -- LspDiagnosticsFloatingInformation = { }, -- Used to color "Information" diagnostic messages in diagnostics float
-- LspDiagnosticsFloatingHint = { }, -- Used to color "Hint" diagnostic messages in diagnostics float -- LspDiagnosticsFloatingHint = { }, -- Used to color "Hint" diagnostic messages in diagnostics float
LspDiagnosticsError = {fg = t.error}, LspDiagnosticsError = {fg = cpt.error},
LspDiagnosticsWarning = {fg = t.warning}, LspDiagnosticsWarning = {fg = cpt.warning},
LspDiagnosticsInformation = {fg = t.info}, LspDiagnosticsInformation = {fg = cpt.info},
LspDiagnosticsHint = {fg = t.hint}, LspDiagnosticsHint = {fg = cpt.hint},
LspDiagnosticsVirtualTextError = {fg = t.error, style = opts.integrations.native_lsp.styles.errors}, -- Used for "Error" diagnostic virtual text LspDiagnosticsVirtualTextError = {fg = cpt.error, style = cpc.integrations.native_lsp.styles.errors}, -- Used for "Error" diagnostic virtual text
LspDiagnosticsVirtualTextWarning = {fg = t.warning, style = opts.integrations.native_lsp.styles.warnings}, -- Used for "Warning" diagnostic virtual text LspDiagnosticsVirtualTextWarning = {fg = cpt.warning, style = cpc.integrations.native_lsp.styles.warnings}, -- Used for "Warning" diagnostic virtual text
LspDiagnosticsVirtualTextInformation = {fg = t.info, style = opts.integrations.native_lsp.styles.information}, -- Used for "Information" diagnostic virtual text LspDiagnosticsVirtualTextInformation = {fg = cpt.info, style = cpc.integrations.native_lsp.styles.information}, -- Used for "Information" diagnostic virtual text
LspDiagnosticsVirtualTextHint = {fg = t.hint, style = opts.integrations.native_lsp.styles.hints}, -- Used for "Hint" diagnostic virtual text LspDiagnosticsVirtualTextHint = {fg = cpt.hint, style = cpc.integrations.native_lsp.styles.hints}, -- Used for "Hint" diagnostic virtual text
LspDiagnosticsUnderlineError = {style = "underline", sp = t.error}, -- Used to underline "Error" diagnostics LspDiagnosticsUnderlineError = {style = "underline", sp = cpt.error}, -- Used to underline "Error" diagnostics
LspDiagnosticsUnderlineWarning = {style = "underline", sp = t.warning}, -- Used to underline "Warning" diagnostics LspDiagnosticsUnderlineWarning = {style = "underline", sp = cpt.warning}, -- Used to underline "Warning" diagnostics
LspDiagnosticsUnderlineInformation = {style = "underline", sp = t.info}, -- Used to underline "Information" diagnostics LspDiagnosticsUnderlineInformation = {style = "underline", sp = cpt.info}, -- Used to underline "Information" diagnostics
LspDiagnosticsUnderlineHint = {style = "underline", sp = t.hint}, -- Used to underline "Hint" diagnostics LspDiagnosticsUnderlineHint = {style = "underline", sp = cpt.hint}, -- Used to underline "Hint" diagnostics
-- These groups are for the neovim tree-sitter highlights. -- These groups are for the neovim tree-sitter highlights.
-- As of writing, tree-sitter support is a WIP, group names may change. -- As of writing, tree-sitter support is a WIP, group names may change.
@ -176,199 +175,222 @@ local function get_base(t)
-- TSBoolean = { }; -- For booleans. -- TSBoolean = { }; -- For booleans.
-- TSCharacter = { }; -- For characters. -- TSCharacter = { }; -- For characters.
-- TSComment = { }; -- For comment blocks. -- TSComment = { }; -- For comment blocks.
TSNote = {fg = t.bg, bg = t.info}, TSNote = {fg = cpt.bg, bg = cpt.info},
TSWarning = {fg = t.bg, bg = t.warning}, TSWarning = {fg = cpt.bg, bg = cpt.warning},
TSDanger = {fg = t.bg, bg = t.error}, TSDanger = {fg = cpt.bg, bg = cpt.error},
TSConstructor = {fg = t.magenta}, -- For constructor calls and definitions: `= { }` in Lua, and Java constructors. TSConstructor = {fg = cpt.magenta}, -- For constructor calls and definitions: `= { }` in Lua, and Java constructors.
-- TSConditional = { }; -- For keywords related to conditionnals. -- TSConditional = { }; -- For keywords related to conditionnals.
TSConstant = {fg = t.orange}, -- For constants TSConstant = {fg = cpt.orange}, -- For constants
TSConstBuiltin = {fg = t.orange_br}, -- For constant that are built in the language: `nil` in Lua. TSConstBuiltin = {fg = cpt.orange_br}, -- For constant that are built in the language: `nil` in Lua.
-- TSConstMacro = { }; -- For constants that are defined by macros: `NULL` in t. -- TSConstMacro = { }; -- For constants that are defined by macros: `NULL` in cpt.
-- TSError = { }; -- For syntax/parser errors. -- TSError = { }; -- For syntax/parser errors.
-- TSException = { }; -- For exception related keywords. -- TSException = { }; -- For exception related keywords.
TSField = {fg = t.red}, -- For fields. TSField = {fg = cpt.red}, -- For fields.
rustTSField = {fg = util.darken(t.white, 0.75)}, -- For fields. rustTSField = {fg = util.darken(cpt.white, 0.75)}, -- For fields.
-- TSFloat = { }; -- For floats. -- TSFloat = { }; -- For floats.
-- TSFunction = { fg = t.fg_gutter }, -- For function (calls and definitions). -- TSFunction = { fg = cpt.fg_gutter }, -- For function (calls and definitions).
TSFuncBuiltin = {fg = t.cyan}, -- For builtin functions: `table.insert` in Lua. TSFuncBuiltin = {fg = cpt.cyan}, -- For builtin functions: `table.insert` in Lua.
TSFuncMacro = {fg = t.red}, -- For macro defined fuctions (calls and definitions): each `macro_rules` in Rust. TSFuncMacro = {fg = cpt.red}, -- For macro defined fuctions (calls and definitions): each `macro_rules` in Ruscpt.
-- TSInclude = { }; -- For includes: `#include` in C, `use` or `extern crate` in Rust, or `require` in Lua. -- TSInclude = { }; -- For includes: `#include` in C, `use` or `extern crate` in Rust, or `require` in Lua.
TSKeyword = {fg = t.magenta, style = opts.styles.keywords}, -- For keywords that don't fall in previous categories. TSKeyword = {fg = cpt.magenta, style = cpc.styles.keywords}, -- For keywords that don't fall in previous categories.
TSKeywordFunction = {fg = t.magenta, style = opts.styles.fuctions}, -- For keywords used to define a fuction. TSKeywordFunction = {fg = cpt.magenta, style = cpc.styles.fuctions}, -- For keywords used to define a fuction.
TSLabel = {fg = t.blue}, -- For labels: `label:` in C and `:label:` in Lua. TSLabel = {fg = cpt.blue}, -- For labels: `label:` in C and `:label:` in Lua.
-- TSMethod = { }; -- For method calls and definitions. -- TSMethod = { }; -- For method calls and definitions.
TSNamespace = {fg = t.cyan}, -- For identifiers referring to modules and namespaces. TSNamespace = {fg = cpt.cyan}, -- For identifiers referring to modules and namespaces.
-- TSNone = { }; -- TODO: docs -- TSNone = { }; -- TODO: docs
-- TSNumber = { }; -- For all numbers -- TSNumber = { }; -- For all numbers
TSOperator = {fg = t.fg_alt}, -- For any operator: `+`, but also `->` and `*` in t. TSOperator = {fg = cpt.fg_alt}, -- For any operator: `+`, but also `->` and `*` in cpt.
TSParameter = {fg = t.orange_br}, -- For parameters of a function. TSParameter = {fg = cpt.orange_br}, -- For parameters of a function.
-- TSParameterReference= { }; -- For references to parameters of a function. -- TSParameterReference= { }; -- For references to parameters of a function.
TSProperty = {fg = t.red_bg}, -- Same as `TSField`. TSProperty = {fg = cpt.red_bg}, -- Same as `TSField`.
tomlTSProperty = {fg = t.blue}, -- Differentiates between string and properties tomlTSProperty = {fg = cpt.blue}, -- Differentiates between string and properties
TSPunctDelimiter = {fg = util.string_to_color(t, "", t.fg_alt)}, -- For delimiters ie: `.` TSPunctDelimiter = {fg = util.string_to_color(cpt, "", cpt.fg_alt)}, -- For delimiters ie: `.`
TSPunctBracket = {fg = t.fg_alt}, -- For brackets and parens. TSPunctBracket = {fg = cpt.fg_alt}, -- For brackets and parens.
TSPunctSpecial = {fg = t.white}, -- For special punctutation that does not fall in the catagories before. TSPunctSpecial = {fg = cpt.white}, -- For special punctutation that does not fall in the catagories before.
-- TSRepeat = { }; -- For keywords related to loops. -- TSRepeat = { }; -- For keywords related to loops.
-- TSString = { }; -- For strings. -- TSString = { }; -- For strings.
TSStringRegex = {fg = t.blue, style = opts.styles.strings}, -- For regexes. TSStringRegex = {fg = cpt.blue, style = cpc.styles.strings}, -- For regexes.
TSStringEscape = {fg = t.magenta, style = opts.styles.strings}, -- For escape characters within a string. TSStringEscape = {fg = cpt.magenta, style = cpc.styles.strings}, -- For escape characters within a string.
-- TSSymbol = { }; -- For identifiers referring to symbols or atoms. -- TSSymbol = { }; -- For identifiers referring to symbols or atoms.
-- TSType = { }; -- For types. -- TSType = { }; -- For types.
TSTypeBuiltin = {fg = t.cyan}, -- For builtin types. TSTypeBuiltin = {fg = cpt.cyan}, -- For builtin types.
TSVariable = {style = opts.styles.variables}, -- Any variable name that does not have another highlight. TSVariable = {style = cpc.styles.variables}, -- Any variable name that does not have another highlighcpt.
TSVariableBuiltin = {fg = t.red}, -- Variable names that are defined by the languages, like `this` or `self`. TSVariableBuiltin = {fg = cpt.red}, -- Variable names that are defined by the languages, like `this` or `self`.
-- TSTag = { }; -- Tags like html tag names. -- TSTag = { }; -- Tags like html tag names.
-- TSTagDelimiter = { }; -- Tag delimiter like `<` `>` `/` -- TSTagDelimiter = { }; -- Tag delimiter like `<` `>` `/`
-- TSText = { }; -- For strings considered text in a markup language. -- TSText = { }; -- For strings considered text in a markup language.
TSTextReference = {fg = t.cyan} TSTextReference = {fg = cpt.cyan}
-- TSEmphasis = { }; -- For text to be represented with emphasis. -- TSEmphasis = { }; -- For text to be represented with emphasis.
-- TSUnderline = { }; -- For text to be represented with an underline. -- TSUnderline = { }; -- For text to be represented with an underline.
-- TSStrike = { }; -- For strikethrough text. -- TSStrike = { }; -- For strikethrough texcpt.
-- TSTitle = { }; -- Text that is part of a title. -- TSTitle = { }; -- Text that is part of a title.
-- TSLiteral = { }; -- Literal text. -- TSLiteral = { }; -- Literal texcpt.
-- TSURI = { }; -- Any URI like a link or email. -- TSURI = { }; -- Any URI like a link or email.
} }
end end
local function get_integrations()
local integrations = cpc["integrations"]
for integration in pairs(integrations) do
local cot = false
if (type(integrations[integration]) == "table") then
if (integrations[integration]["enabled"] == true) then
cot = true
end
else
if (integrations[integration] == true) then
cot = true
end
end
if (cot) then
require("catppuccino.core.integrations." .. integrations[integration])
end
end
end
function M.apply() function M.apply()
local theme = {} local theme = {}
local t = require("catppuccino.color_schemes." .. opts.colorscheme) _G.cpc = require("catppuccino.config").options
_G.cpt = require("catppuccino.color_schemes." .. cpc.colorscheme)
theme.base = get_base(t) theme.base = get_base()
theme.plugins = { theme.plugins = {
-- LspTrouble -- LspTrouble
LspTroubleText = {fg = t.fg_alt}, LspTroubleText = {fg = cpt.fg_alt},
LspTroubleCount = {fg = t.magenta, bg = t.fg_gutter}, LspTroubleCount = {fg = cpt.magenta, bg = cpt.fg_gutter},
LspTroubleNormal = {fg = t.fg_sidebar, bg = t.bg_sidebar}, LspTroubleNormal = {fg = cpt.fg_sidebar, bg = cpt.bg_sidebar},
-- Illuminate -- Illuminate
illuminatedWord = {bg = t.fg_gutter}, illuminatedWord = {bg = cpt.fg_gutter},
illuminatedCurWord = {bg = t.fg_gutter}, illuminatedCurWord = {bg = cpt.fg_gutter},
-- IndentBlankline -- IndentBlankline
IndentBlanklineChar = {fg = t.gray}, IndentBlanklineChar = {fg = cpt.gray},
-- diff -- diff
diffAdded = {fg = t.git.add}, diffAdded = {fg = cpt.gicpt.add},
diffRemoved = {fg = t.git.delete}, diffRemoved = {fg = cpt.gicpt.delete},
diffChanged = {fg = t.git.change}, diffChanged = {fg = cpt.gicpt.change},
diffOldFile = {fg = t.yellow}, diffOldFile = {fg = cpt.yellow},
diffNewFile = {fg = t.orange}, diffNewFile = {fg = cpt.orange},
diffFile = {fg = t.blue}, diffFile = {fg = cpt.blue},
diffLine = {fg = t.comment}, diffLine = {fg = cpt.comment},
diffIndexLine = {fg = t.magenta}, diffIndexLine = {fg = cpt.magenta},
-- Neogit -- Neogit
NeogitBranch = {fg = t.magenta}, NeogitBranch = {fg = cpt.magenta},
NeogitRemote = {fg = t.pink}, NeogitRemote = {fg = cpt.pink},
NeogitHunkHeader = {bg = t.bg_highlight, fg = t.fg}, NeogitHunkHeader = {bg = cpt.bg_highlight, fg = cpt.fg},
NeogitHunkHeaderHighlight = {bg = t.fg_gutter, fg = t.blue}, NeogitHunkHeaderHighlight = {bg = cpt.fg_gutter, fg = cpt.blue},
NeogitDiffContextHighlight = {bg = util.darken(t.fg_gutter, 0.5), fg = t.fg_alt}, NeogitDiffContextHighlight = {bg = util.darken(cpt.fg_gutter, 0.5), fg = cpt.fg_alt},
NeogitDiffDeleteHighlight = {fg = t.git.delete, bg = t.diff.delete}, NeogitDiffDeleteHighlight = {fg = cpt.gicpt.delete, bg = cpt.diff.delete},
NeogitDiffAddHighlight = {fg = t.git.add, bg = t.diff.add}, NeogitDiffAddHighlight = {fg = cpt.gicpt.add, bg = cpt.diff.add},
-- GitGutter -- GitGutter
GitGutterAdd = {fg = t.gitSigns.add}, -- diff mode: Added line |diff.txt| GitGutterAdd = {fg = cpt.gitSigns.add}, -- diff mode: Added line |diff.txt|
GitGutterChange = {fg = t.gitSigns.change}, -- diff mode: Changed line |diff.txt| GitGutterChange = {fg = cpt.gitSigns.change}, -- diff mode: Changed line |diff.txt|
GitGutterDelete = {fg = t.gitSigns.delete}, -- diff mode: Deleted line |diff.txt| GitGutterDelete = {fg = cpt.gitSigns.delete}, -- diff mode: Deleted line |diff.txt|
-- GitSigns -- GitSigns
GitSignsAdd = {fg = t.gitSigns.add}, -- diff mode: Added line |diff.txt| GitSignsAdd = {fg = cpt.gitSigns.add}, -- diff mode: Added line |diff.txt|
GitSignsChange = {fg = t.gitSigns.change}, -- diff mode: Changed line |diff.txt| GitSignsChange = {fg = cpt.gitSigns.change}, -- diff mode: Changed line |diff.txt|
GitSignsDelete = {fg = t.gitSigns.delete}, -- diff mode: Deleted line |diff.txt| GitSignsDelete = {fg = cpt.gitSigns.delete}, -- diff mode: Deleted line |diff.txt|
-- Telescope -- Telescope
TelescopeBorder = {fg = t.border_highlight}, TelescopeBorder = {fg = cpt.border_highlight},
TelescopeSelectionCaret = {fg = t.cyan}, TelescopeSelectionCaret = {fg = cpt.cyan},
TelescopeSelection = {fg = t.cyan, bg = t.bg_highlight}, TelescopeSelection = {fg = cpt.cyan, bg = cpt.bg_highlight},
TelescopeMatching = {fg = t.blue}, TelescopeMatching = {fg = cpt.blue},
-- NvimTree -- NvimTree
NvimTreeNormal = {fg = t.fg_sidebar, bg = t.bg_sidebar}, NvimTreeNormal = {fg = cpt.fg_sidebar, bg = cpt.bg_sidebar},
NvimTreeFolderIcon = {fg = t.comment}, NvimTreeFolderIcon = {fg = cpt.comment},
NvimTreeRootFolder = {fg = t.orange, style = "bold"}, NvimTreeRootFolder = {fg = cpt.orange, style = "bold"},
NvimTreeSymlink = {fg = t.magenta}, NvimTreeSymlink = {fg = cpt.magenta},
NvimTreeFolderName = {fg = t.blue}, NvimTreeFolderName = {fg = cpt.blue},
NvimTreeEmptyFolderName = {fg = t.comment}, NvimTreeEmptyFolderName = {fg = cpt.comment},
NvimTreeOpenedFolderName = {fg = t.blue_br}, NvimTreeOpenedFolderName = {fg = cpt.blue_br},
NvimTreeOpenedFile = {fg = t.magenta}, -- TODO: not working NvimTreeOpenedFile = {fg = cpt.magenta}, -- TODO: not working
NvimTreeGitDirty = {fg = t.git.change}, NvimTreeGitDirty = {fg = cpt.gicpt.change},
NvimTreeGitNew = {fg = t.git.add}, NvimTreeGitNew = {fg = cpt.gicpt.add},
NvimTreeGitDeleted = {fg = t.git.delete}, NvimTreeGitDeleted = {fg = cpt.gicpt.delete},
NvimTreeSpecialFile = {fg = t.cyan}, NvimTreeSpecialFile = {fg = cpt.cyan},
NvimTreeIndentMarker = {fg = t.fg_gutter}, NvimTreeIndentMarker = {fg = cpt.fg_gutter},
NvimTreeImageFile = {fg = t.fg_sidebar}, NvimTreeImageFile = {fg = cpt.fg_sidebar},
-- Fern -- Fern
FernBranchText = {fg = t.blue}, FernBranchText = {fg = cpt.blue},
-- glyph palette -- glyph palette
GlyphPalette1 = {fg = t.red}, GlyphPalette1 = {fg = cpt.red},
GlyphPalette2 = {fg = t.green}, GlyphPalette2 = {fg = cpt.green},
GlyphPalette3 = {fg = t.yellow}, GlyphPalette3 = {fg = cpt.yellow},
GlyphPalette4 = {fg = t.blue}, GlyphPalette4 = {fg = cpt.blue},
GlyphPalette6 = {fg = t.green_br}, GlyphPalette6 = {fg = cpt.green_br},
GlyphPalette7 = {fg = t.fg}, GlyphPalette7 = {fg = cpt.fg},
GlyphPalette9 = {fg = t.red}, GlyphPalette9 = {fg = cpt.red},
-- Dashboard -- Dashboard
DashboardShortCut = {fg = t.cyan}, DashboardShortCut = {fg = cpt.cyan},
DashboardHeader = {fg = t.yellow}, DashboardHeader = {fg = cpt.yellow},
DashboardCenter = {fg = t.green}, DashboardCenter = {fg = cpt.green},
DashboardFooter = {fg = t.orange, style = "italic"}, DashboardFooter = {fg = cpt.orange, style = "italic"},
-- WhichKey -- WhichKey
WhichKey = {fg = t.cyan}, WhichKey = {fg = cpt.cyan},
WhichKeyGroup = {fg = t.blue}, WhichKeyGroup = {fg = cpt.blue},
WhichKeyDesc = {fg = t.magenta}, WhichKeyDesc = {fg = cpt.magenta},
WhichKeySeperator = {fg = t.comment}, WhichKeySeperator = {fg = cpt.comment},
WhichKeySeparator = {fg = t.comment}, WhichKeySeparator = {fg = cpt.comment},
WhichKeyFloat = {bg = t.bg_sidebar}, WhichKeyFloat = {bg = cpt.bg_sidebar},
WhichKeyValue = {fg = t.comment}, WhichKeyValue = {fg = cpt.comment},
-- LspSaga -- LspSaga
DiagnosticError = {fg = t.error}, DiagnosticError = {fg = cpt.error},
DiagnosticWarning = {fg = t.warning}, DiagnosticWarning = {fg = cpt.warning},
DiagnosticInformation = {fg = t.info}, DiagnosticInformation = {fg = cpt.info},
DiagnosticHint = {fg = t.hint}, DiagnosticHint = {fg = cpt.hint},
LspFloatWinNormal = {bg = t.bg_float}, LspFloatWinNormal = {bg = cpt.bg_float},
LspFloatWinBorder = {fg = t.border_highlight}, LspFloatWinBorder = {fg = cpt.border_highlight},
LspSagaBorderTitle = {fg = t.cyan}, LspSagaBorderTitle = {fg = cpt.cyan},
LspSagaHoverBorder = {fg = t.blue}, LspSagaHoverBorder = {fg = cpt.blue},
LspSagaRenameBorder = {fg = t.green}, LspSagaRenameBorder = {fg = cpt.green},
LspSagaDefPreviewBorder = {fg = t.green}, LspSagaDefPreviewBorder = {fg = cpt.green},
LspSagaCodeActionBorder = {fg = t.blue}, LspSagaCodeActionBorder = {fg = cpt.blue},
LspSagaFinderSelection = {fg = t.bg_visual}, LspSagaFinderSelection = {fg = cpt.bg_visual},
LspSagaCodeActionTitle = {fg = t.blue1}, LspSagaCodeActionTitle = {fg = cpt.blue1},
LspSagaCodeActionContent = {fg = t.purple}, LspSagaCodeActionContent = {fg = cpt.purple},
LspSagaSignatureHelpBorder = {fg = t.red}, LspSagaSignatureHelpBorder = {fg = cpt.red},
ReferencesCount = {fg = t.purple}, ReferencesCount = {fg = cpt.purple},
DefinitionCount = {fg = t.purple}, DefinitionCount = {fg = cpt.purple},
DefinitionIcon = {fg = t.blue}, DefinitionIcon = {fg = cpt.blue},
ReferencesIcon = {fg = t.blue}, ReferencesIcon = {fg = cpt.blue},
TargetWord = {fg = t.cyan}, TargetWord = {fg = cpt.cyan},
-- NeoVim -- NeoVim
healthError = {fg = t.error}, healthError = {fg = cpt.error},
healthSuccess = {fg = t.green_br}, healthSuccess = {fg = cpt.green_br},
healthWarning = {fg = t.warning}, healthWarning = {fg = cpt.warning},
-- BufferLine -- BufferLine
BufferLineIndicatorSelected = {fg = t.git.change}, BufferLineIndicatorSelected = {fg = cpt.gicpt.change},
BufferLineFill = {bg = t.black}, BufferLineFill = {bg = cpt.black},
-- Barbar -- Barbar
BufferCurrent = {bg = t.fg_gutter, fg = t.fg}, BufferCurrent = {bg = cpt.fg_gutter, fg = cpt.fg},
BufferCurrentIndex = {bg = t.fg_gutter, fg = t.info}, BufferCurrentIndex = {bg = cpt.fg_gutter, fg = cpt.info},
BufferCurrentMod = {bg = t.fg_gutter, fg = t.warning}, BufferCurrentMod = {bg = cpt.fg_gutter, fg = cpt.warning},
BufferCurrentSign = {bg = t.fg_gutter, fg = t.info}, BufferCurrentSign = {bg = cpt.fg_gutter, fg = cpt.info},
BufferCurrentTarget = {bg = t.fg_gutter, fg = t.red}, BufferCurrentTarget = {bg = cpt.fg_gutter, fg = cpt.red},
BufferVisible = {bg = t.bg_statusline, fg = t.fg}, BufferVisible = {bg = cpt.bg_statusline, fg = cpt.fg},
BufferVisibleIndex = {bg = t.bg_statusline, fg = t.info}, BufferVisibleIndex = {bg = cpt.bg_statusline, fg = cpt.info},
BufferVisibleMod = {bg = t.bg_statusline, fg = t.warning}, BufferVisibleMod = {bg = cpt.bg_statusline, fg = cpt.warning},
BufferVisibleSign = {bg = t.bg_statusline, fg = t.info}, BufferVisibleSign = {bg = cpt.bg_statusline, fg = cpt.info},
BufferVisibleTarget = {bg = t.bg_statusline, fg = t.red}, BufferVisibleTarget = {bg = cpt.bg_statusline, fg = cpt.red},
BufferInactive = {bg = t.bg_statusline, fg = t.comment}, BufferInactive = {bg = cpt.bg_statusline, fg = cpt.comment},
BufferInactiveIndex = {bg = t.bg_statusline, fg = t.comment}, BufferInactiveIndex = {bg = cpt.bg_statusline, fg = cpt.comment},
BufferInactiveMod = {bg = t.bg_statusline, fg = util.darken(t.warning, 0.7)}, BufferInactiveMod = {bg = cpt.bg_statusline, fg = util.darken(cpt.warning, 0.7)},
BufferInactiveSign = {bg = t.bg_statusline, fg = t.border_highlight}, BufferInactiveSign = {bg = cpt.bg_statusline, fg = cpt.border_highlight},
BufferInactiveTarget = {bg = t.bg_statusline, fg = t.red}, BufferInactiveTarget = {bg = cpt.bg_statusline, fg = cpt.red},
BufferTabpages = {bg = t.bg_statusline, fg = t.none}, BufferTabpages = {bg = cpt.bg_statusline, fg = cpt.none},
BufferTabpage = {bg = t.bg_statusline, fg = t.border_highlight}, BufferTabpage = {bg = cpt.bg_statusline, fg = cpt.border_highlight},
-- Sneak -- Sneak
Sneak = {fg = t.bg_highlight, bg = t.magenta}, Sneak = {fg = cpt.bg_highlight, bg = cpt.magenta},
SneakScope = {bg = t.bg_visual}, SneakScope = {bg = cpt.bg_visual},
-- Hop -- Hop
HopNextKey = {fg = t.cyan, style = "bold"}, HopNextKey = {fg = cpt.cyan, style = "bold"},
HopNextKey1 = {fg = t.blue, style = "bold"}, HopNextKey1 = {fg = cpt.blue, style = "bold"},
HopNextKey2 = {fg = util.darken(t.blue, 0.3)}, HopNextKey2 = {fg = util.darken(cpt.blue, 0.3)},
HopUnmatched = {fg = t.comment}, HopUnmatched = {fg = cpt.comment},
LightspeedGreyWash = {fg = t.comment} LightspeedGreyWash = {fg = cpt.comment}
} }
return theme return theme

Loading…
Cancel
Save