mirror of https://github.com/sgoudham/nvim.git
dev (formatter): formatted with StyLua core/integrations/*
parent
e3503f0d7d
commit
58e9348dfb
@ -1,12 +1,12 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
DashboardShortCut = {fg = cpt.cyan},
|
||||
DashboardHeader = {fg = cpt.yellow},
|
||||
DashboardCenter = {fg = cpt.green},
|
||||
DashboardFooter = {fg = cpt.orange, style = "italic"}
|
||||
}
|
||||
return {
|
||||
DashboardShortCut = { fg = cpt.cyan },
|
||||
DashboardHeader = { fg = cpt.yellow },
|
||||
DashboardCenter = { fg = cpt.green },
|
||||
DashboardFooter = { fg = cpt.orange, style = "italic" },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -1,9 +1,9 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
FernBranchText = {fg = cpt.blue}
|
||||
}
|
||||
return {
|
||||
FernBranchText = { fg = cpt.blue },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -1,10 +1,10 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
GitGutterAdd = {fg = cpt.gitSigns.add}, -- diff mode: Added line |diff.txt|
|
||||
GitGutterChange = {fg = cpt.gitSigns.change}, -- diff mode: Changed line |diff.txt|
|
||||
GitGutterDelete = {fg = cpt.gitSigns.delete} -- diff mode: Deleted line |diff.txt|
|
||||
}
|
||||
return {
|
||||
GitGutterAdd = { fg = cpt.gitSigns.add }, -- diff mode: Added line |diff.txt|
|
||||
GitGutterChange = { fg = cpt.gitSigns.change }, -- diff mode: Changed line |diff.txt|
|
||||
GitGutterDelete = { fg = cpt.gitSigns.delete }, -- diff mode: Deleted line |diff.txt|
|
||||
}
|
||||
end
|
||||
return M
|
||||
|
@ -1,11 +1,11 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
GitSignsAdd = {fg = cpt.diff.add, bg = cpt.bg}, -- diff mode: Added line |diff.txt|
|
||||
GitSignsChange = {fg = cpt.diff.change, bg = cpt.bg}, -- diff mode: Changed line |diff.txt|
|
||||
GitSignsDelete = {fg = cpt.diff.delete, bg = cpt.bg} -- diff mode: Deleted line |diff.txt|
|
||||
}
|
||||
return {
|
||||
GitSignsAdd = { fg = cpt.diff.add, bg = cpt.bg }, -- diff mode: Added line |diff.txt|
|
||||
GitSignsChange = { fg = cpt.diff.change, bg = cpt.bg }, -- diff mode: Changed line |diff.txt|
|
||||
GitSignsDelete = { fg = cpt.diff.delete, bg = cpt.bg }, -- diff mode: Deleted line |diff.txt|
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -1,9 +1,9 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
IndentBlanklineChar = {fg = cpt.gray}
|
||||
}
|
||||
return {
|
||||
IndentBlanklineChar = { fg = cpt.gray },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -1,27 +1,27 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
DiagnosticError = {fg = cpt.error},
|
||||
DiagnosticWarning = {fg = cpt.warning},
|
||||
DiagnosticInformation = {fg = cpt.info},
|
||||
DiagnosticHint = {fg = cpt.hint},
|
||||
LspFloatWinNormal = {bg = cpt.bg_float},
|
||||
LspFloatWinBorder = {fg = cpt.border_highlight},
|
||||
LspSagaBorderTitle = {fg = cpt.cyan},
|
||||
LspSagaHoverBorder = {fg = cpt.blue},
|
||||
LspSagaRenameBorder = {fg = cpt.green},
|
||||
LspSagaDefPreviewBorder = {fg = cpt.green},
|
||||
LspSagaCodeActionBorder = {fg = cpt.blue},
|
||||
LspSagaFinderSelection = {fg = cpt.bg_visual},
|
||||
LspSagaCodeActionTitle = {fg = cpt.blue1},
|
||||
LspSagaCodeActionContent = {fg = cpt.purple},
|
||||
LspSagaSignatureHelpBorder = {fg = cpt.red},
|
||||
ReferencesCount = {fg = cpt.purple},
|
||||
DefinitionCount = {fg = cpt.purple},
|
||||
DefinitionIcon = {fg = cpt.blue},
|
||||
ReferencesIcon = {fg = cpt.blue},
|
||||
TargetWord = {fg = cpt.cyan}
|
||||
}
|
||||
return {
|
||||
DiagnosticError = { fg = cpt.error },
|
||||
DiagnosticWarning = { fg = cpt.warning },
|
||||
DiagnosticInformation = { fg = cpt.info },
|
||||
DiagnosticHint = { fg = cpt.hint },
|
||||
LspFloatWinNormal = { bg = cpt.bg_float },
|
||||
LspFloatWinBorder = { fg = cpt.border_highlight },
|
||||
LspSagaBorderTitle = { fg = cpt.cyan },
|
||||
LspSagaHoverBorder = { fg = cpt.blue },
|
||||
LspSagaRenameBorder = { fg = cpt.green },
|
||||
LspSagaDefPreviewBorder = { fg = cpt.green },
|
||||
LspSagaCodeActionBorder = { fg = cpt.blue },
|
||||
LspSagaFinderSelection = { fg = cpt.bg_visual },
|
||||
LspSagaCodeActionTitle = { fg = cpt.blue1 },
|
||||
LspSagaCodeActionContent = { fg = cpt.purple },
|
||||
LspSagaSignatureHelpBorder = { fg = cpt.red },
|
||||
ReferencesCount = { fg = cpt.purple },
|
||||
DefinitionCount = { fg = cpt.purple },
|
||||
DefinitionIcon = { fg = cpt.blue },
|
||||
ReferencesIcon = { fg = cpt.blue },
|
||||
TargetWord = { fg = cpt.cyan },
|
||||
}
|
||||
end
|
||||
return M
|
||||
|
@ -1,11 +1,11 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
LspTroubleText = {fg = cpt.fg_alt},
|
||||
LspTroubleCount = {fg = cpt.magenta, bg = cpt.fg_gutter},
|
||||
LspTroubleNormal = {fg = cpt.fg_sidebar, bg = cpt.bg_sidebar}
|
||||
}
|
||||
return {
|
||||
LspTroubleText = { fg = cpt.fg_alt },
|
||||
LspTroubleCount = { fg = cpt.magenta, bg = cpt.fg_gutter },
|
||||
LspTroubleNormal = { fg = cpt.fg_sidebar, bg = cpt.bg_sidebar },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -1,14 +1,14 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
markdownHeadingDelimiter = {fg = cpt.orange, style = "bold"},
|
||||
markdownCode = {fg = cpt.cyan},
|
||||
markdownCodeBlock = {fg = cpt.cyan},
|
||||
markdownH1 = {fg = cpt.magenta, style = "bold"},
|
||||
markdownH2 = {fg = cpt.blue, style = "bold"},
|
||||
markdownLinkText = {fg = cpt.blue, style = "underline"}
|
||||
}
|
||||
return {
|
||||
markdownHeadingDelimiter = { fg = cpt.orange, style = "bold" },
|
||||
markdownCode = { fg = cpt.cyan },
|
||||
markdownCodeBlock = { fg = cpt.cyan },
|
||||
markdownH1 = { fg = cpt.magenta, style = "bold" },
|
||||
markdownH2 = { fg = cpt.blue, style = "bold" },
|
||||
markdownLinkText = { fg = cpt.blue, style = "underline" },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -1,38 +1,38 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
-- 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
|
||||
-- documentation.
|
||||
LspReferenceText = {bg = cpt.fg_gutter}, -- used for highlighting "text" references
|
||||
LspReferenceRead = {bg = cpt.fg_gutter}, -- used for highlighting "read" references
|
||||
LspReferenceWrite = {bg = cpt.fg_gutter}, -- used for highlighting "write" references
|
||||
-- hightlight diagnostics in numberline
|
||||
LspDiagnosticsDefaultError = {fg = cpt.error}, -- 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 = cpt.info}, -- 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 = cpt.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
|
||||
return {
|
||||
-- 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
|
||||
-- documentation.
|
||||
LspReferenceText = { bg = cpt.fg_gutter }, -- used for highlighting "text" references
|
||||
LspReferenceRead = { bg = cpt.fg_gutter }, -- used for highlighting "read" references
|
||||
LspReferenceWrite = { bg = cpt.fg_gutter }, -- used for highlighting "write" references
|
||||
-- hightlight diagnostics in numberline
|
||||
LspDiagnosticsDefaultError = { fg = cpt.error }, -- 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 = cpt.info }, -- 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 = cpt.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 = cpt.error},
|
||||
LspDiagnosticsWarning = {fg = cpt.warning},
|
||||
LspDiagnosticsInformation = {fg = cpt.info},
|
||||
LspDiagnosticsHint = {fg = cpt.hint},
|
||||
LspDiagnosticsVirtualTextError = {fg = cpt.error, style = cpc.integrations.native_lsp.styles.errors}, -- Used for "Error" diagnostic virtual text
|
||||
LspDiagnosticsVirtualTextWarning = {fg = cpt.warning, style = cpc.integrations.native_lsp.styles.warnings}, -- Used for "Warning" diagnostic virtual text
|
||||
LspDiagnosticsVirtualTextInformation = {fg = cpt.info, style = cpc.integrations.native_lsp.styles.information}, -- Used for "Information" diagnostic virtual text
|
||||
LspDiagnosticsVirtualTextHint = {fg = cpt.hint, style = cpc.integrations.native_lsp.styles.hints}, -- Used for "Hint" diagnostic virtual text
|
||||
LspDiagnosticsUnderlineError = {style = "underline", sp = cpt.error}, -- Used to underline "Error" diagnostics
|
||||
LspDiagnosticsUnderlineWarning = {style = "underline", sp = cpt.warning}, -- Used to underline "Warning" diagnostics
|
||||
LspDiagnosticsUnderlineInformation = {style = "underline", sp = cpt.info}, -- Used to underline "Information" diagnostics
|
||||
LspDiagnosticsUnderlineHint = {style = "underline", sp = cpt.hint}, -- Used to underline "Hint" diagnostics
|
||||
LspCodeLens = {fg = cpt.comment} -- virtual text of the codelens
|
||||
}
|
||||
LspDiagnosticsError = { fg = cpt.error },
|
||||
LspDiagnosticsWarning = { fg = cpt.warning },
|
||||
LspDiagnosticsInformation = { fg = cpt.info },
|
||||
LspDiagnosticsHint = { fg = cpt.hint },
|
||||
LspDiagnosticsVirtualTextError = { fg = cpt.error, style = cpc.integrations.native_lsp.styles.errors }, -- Used for "Error" diagnostic virtual text
|
||||
LspDiagnosticsVirtualTextWarning = { fg = cpt.warning, style = cpc.integrations.native_lsp.styles.warnings }, -- Used for "Warning" diagnostic virtual text
|
||||
LspDiagnosticsVirtualTextInformation = { fg = cpt.info, style = cpc.integrations.native_lsp.styles.information }, -- Used for "Information" diagnostic virtual text
|
||||
LspDiagnosticsVirtualTextHint = { fg = cpt.hint, style = cpc.integrations.native_lsp.styles.hints }, -- Used for "Hint" diagnostic virtual text
|
||||
LspDiagnosticsUnderlineError = { style = "underline", sp = cpt.error }, -- Used to underline "Error" diagnostics
|
||||
LspDiagnosticsUnderlineWarning = { style = "underline", sp = cpt.warning }, -- Used to underline "Warning" diagnostics
|
||||
LspDiagnosticsUnderlineInformation = { style = "underline", sp = cpt.info }, -- Used to underline "Information" diagnostics
|
||||
LspDiagnosticsUnderlineHint = { style = "underline", sp = cpt.hint }, -- Used to underline "Hint" diagnostics
|
||||
LspCodeLens = { fg = cpt.comment }, -- virtual text of the codelens
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -1,32 +1,32 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
local config = require("catppuccino.config").options
|
||||
local config = require("catppuccino.config").options
|
||||
|
||||
local root_dir_color = cpt.bg_sidebar
|
||||
local root_dir_color = cpt.bg_sidebar
|
||||
|
||||
if (config.integrations.nvimtree.show_root) then
|
||||
root_dir_color = cpt.blue
|
||||
end
|
||||
if config.integrations.nvimtree.show_root then
|
||||
root_dir_color = cpt.blue
|
||||
end
|
||||
|
||||
return {
|
||||
NvimTreeFolderName = {fg = cpt.blue},
|
||||
NvimTreeFolderIcon = {fg = cpt.blue},
|
||||
NvimTreeNormal = {fg = cpt.fg, bg = cpt.bg_sidebar},
|
||||
NvimTreeOpenedFolderName = {fg = cpt.blue},
|
||||
NvimTreeEmptyFolderName = {fg = cpt.blue_br},
|
||||
NvimTreeIndentMarker = {fg = cpt.comment},
|
||||
NvimTreeVertSplit = {fg = cpt.black, bg = cpt.black},
|
||||
NvimTreeRootFolder = {fg = root_dir_color, style = "bold"},
|
||||
NvimTreeSymlink = {fg = cpt.magenta},
|
||||
NvimTreeStatuslineNc = {fg = cpt.black, bg = cpt.black},
|
||||
NvimTreeGitDirty = {fg = cpt.git.change},
|
||||
NvimTreeGitNew = {fg = cpt.git.add},
|
||||
NvimTreeGitDeleted = {fg = cpt.git.delete},
|
||||
NvimTreeSpecialFile = {fg = cpt.cyan},
|
||||
NvimTreeImageFile = {fg = cpt.fg_sidebar},
|
||||
NvimTreeOpenedFile = {fg = cpt.magenta}
|
||||
}
|
||||
return {
|
||||
NvimTreeFolderName = { fg = cpt.blue },
|
||||
NvimTreeFolderIcon = { fg = cpt.blue },
|
||||
NvimTreeNormal = { fg = cpt.fg, bg = cpt.bg_sidebar },
|
||||
NvimTreeOpenedFolderName = { fg = cpt.blue },
|
||||
NvimTreeEmptyFolderName = { fg = cpt.blue_br },
|
||||
NvimTreeIndentMarker = { fg = cpt.comment },
|
||||
NvimTreeVertSplit = { fg = cpt.black, bg = cpt.black },
|
||||
NvimTreeRootFolder = { fg = root_dir_color, style = "bold" },
|
||||
NvimTreeSymlink = { fg = cpt.magenta },
|
||||
NvimTreeStatuslineNc = { fg = cpt.black, bg = cpt.black },
|
||||
NvimTreeGitDirty = { fg = cpt.git.change },
|
||||
NvimTreeGitNew = { fg = cpt.git.add },
|
||||
NvimTreeGitDeleted = { fg = cpt.git.delete },
|
||||
NvimTreeSpecialFile = { fg = cpt.cyan },
|
||||
NvimTreeImageFile = { fg = cpt.fg_sidebar },
|
||||
NvimTreeOpenedFile = { fg = cpt.magenta },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -1,12 +1,12 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
TelescopeBorder = {fg = cpt.border_highlight},
|
||||
TelescopeSelectionCaret = {fg = cpt.cyan},
|
||||
TelescopeSelection = {fg = cpt.cyan, bg = cpt.bg_highlight},
|
||||
TelescopeMatching = {fg = cpt.blue}
|
||||
}
|
||||
return {
|
||||
TelescopeBorder = { fg = cpt.border_highlight },
|
||||
TelescopeSelectionCaret = { fg = cpt.cyan },
|
||||
TelescopeSelection = { fg = cpt.cyan, bg = cpt.bg_highlight },
|
||||
TelescopeMatching = { fg = cpt.blue },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -1,10 +1,10 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
Sneak = {fg = cpt.bg_highlight, bg = cpt.magenta},
|
||||
SneakScope = {bg = cpt.bg_visual}
|
||||
}
|
||||
return {
|
||||
Sneak = { fg = cpt.bg_highlight, bg = cpt.magenta },
|
||||
SneakScope = { bg = cpt.bg_visual },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -1,15 +1,15 @@
|
||||
local M = {}
|
||||
|
||||
function M.get(cpt)
|
||||
return {
|
||||
WhichKey = {fg = cpt.cyan},
|
||||
WhichKeyGroup = {fg = cpt.blue},
|
||||
WhichKeyDesc = {fg = cpt.magenta},
|
||||
WhichKeySeperator = {fg = cpt.comment},
|
||||
WhichKeySeparator = {fg = cpt.comment},
|
||||
WhichKeyFloat = {bg = cpt.bg_sidebar},
|
||||
WhichKeyValue = {fg = cpt.comment}
|
||||
}
|
||||
return {
|
||||
WhichKey = { fg = cpt.cyan },
|
||||
WhichKeyGroup = { fg = cpt.blue },
|
||||
WhichKeyDesc = { fg = cpt.magenta },
|
||||
WhichKeySeperator = { fg = cpt.comment },
|
||||
WhichKeySeparator = { fg = cpt.comment },
|
||||
WhichKeyFloat = { bg = cpt.bg_sidebar },
|
||||
WhichKeyValue = { fg = cpt.comment },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
Loading…
Reference in New Issue