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