dev (formatter): formatted with StyLua core/integrations/*

dev-doc
Pocco81 3 years ago
parent e3503f0d7d
commit 58e9348dfb

@ -20,7 +20,7 @@ function M.get(cpt)
BufferInactiveSign = { bg = cpt.bg_statusline, fg = cpt.border_highlight }, BufferInactiveSign = { bg = cpt.bg_statusline, fg = cpt.border_highlight },
BufferInactiveTarget = { bg = cpt.bg_statusline, fg = cpt.red }, BufferInactiveTarget = { bg = cpt.bg_statusline, fg = cpt.red },
BufferTabpages = { bg = cpt.bg_statusline, fg = cpt.none }, BufferTabpages = { bg = cpt.bg_statusline, fg = cpt.none },
BufferTabpage = {bg = cpt.bg_statusline, fg = cpt.border_highlight} BufferTabpage = { bg = cpt.bg_statusline, fg = cpt.border_highlight },
} }
end end

@ -19,7 +19,7 @@ function M.get(cpt)
-- close buttons -- close buttons
BufferLineCloseButton = { fg = cpt.gray, bg = cpt.black }, BufferLineCloseButton = { fg = cpt.gray, bg = cpt.black },
BufferLineCloseButtonVisible = { fg = cpt.gray, bg = cpt.black }, BufferLineCloseButtonVisible = { fg = cpt.gray, bg = cpt.black },
BufferLineCloseButtonSelected = {fg = cpt.red, bg = cpt.bg} BufferLineCloseButtonSelected = { fg = cpt.red, bg = cpt.bg },
} }
end end

@ -5,7 +5,7 @@ function M.get(cpt)
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

@ -2,7 +2,7 @@ local M = {}
function M.get(cpt) function M.get(cpt)
return { return {
FernBranchText = {fg = cpt.blue} FernBranchText = { fg = cpt.blue },
} }
end end

@ -4,7 +4,7 @@ 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

@ -4,7 +4,7 @@ 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

@ -2,7 +2,7 @@ local M = {}
function M.get(cpt) function M.get(cpt)
return { return {
IndentBlanklineChar = {fg = cpt.gray} IndentBlanklineChar = { fg = cpt.gray },
} }
end end

@ -21,7 +21,7 @@ function M.get(cpt)
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

@ -4,7 +4,7 @@ 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

@ -7,7 +7,7 @@ function M.get(cpt)
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

@ -31,7 +31,7 @@ function M.get(cpt)
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

@ -9,7 +9,7 @@ function M.get(cpt)
NeogitHunkHeaderHighlight = { bg = cpt.fg_gutter, fg = cpt.blue }, NeogitHunkHeaderHighlight = { bg = cpt.fg_gutter, fg = cpt.blue },
NeogitDiffContextHighlight = { bg = util.darken(cpt.fg_gutter, 0.5), fg = cpt.fg_alt }, NeogitDiffContextHighlight = { bg = util.darken(cpt.fg_gutter, 0.5), fg = cpt.fg_alt },
NeogitDiffDeleteHighlight = { fg = cpt.git.delete, bg = cpt.diff.delete }, NeogitDiffDeleteHighlight = { fg = cpt.git.delete, bg = cpt.diff.delete },
NeogitDiffAddHighlight = {fg = cpt.git.add, bg = cpt.diff.add} NeogitDiffAddHighlight = { fg = cpt.git.add, bg = cpt.diff.add },
} }
end end

@ -5,7 +5,7 @@ function M.get(cpt)
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
@ -25,7 +25,7 @@ function M.get(cpt)
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

@ -5,7 +5,7 @@ function M.get(cpt)
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

@ -58,7 +58,7 @@ function M.get(cpt)
-- 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 = cpt.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 texcpt. -- TSStrike = { }; -- For strikethrough texcpt.
@ -69,4 +69,3 @@ function M.get(cpt)
end end
return M return M

@ -3,7 +3,7 @@ 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

@ -8,7 +8,7 @@ function M.get(cpt)
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

Loading…
Cancel
Save