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 },
BufferInactiveTarget = { bg = cpt.bg_statusline, fg = cpt.red },
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

@ -19,7 +19,7 @@ function M.get(cpt)
-- close buttons
BufferLineCloseButton = { 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

@ -5,7 +5,7 @@ function M.get(cpt)
DashboardShortCut = { fg = cpt.cyan },
DashboardHeader = { fg = cpt.yellow },
DashboardCenter = { fg = cpt.green },
DashboardFooter = {fg = cpt.orange, style = "italic"}
DashboardFooter = { fg = cpt.orange, style = "italic" },
}
end

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

@ -4,7 +4,7 @@ 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|
GitGutterDelete = { fg = cpt.gitSigns.delete }, -- diff mode: Deleted line |diff.txt|
}
end
return M

@ -4,7 +4,7 @@ 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|
GitSignsDelete = { fg = cpt.diff.delete, bg = cpt.bg }, -- diff mode: Deleted line |diff.txt|
}
end

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

@ -21,7 +21,7 @@ function M.get(cpt)
DefinitionCount = { fg = cpt.purple },
DefinitionIcon = { fg = cpt.blue },
ReferencesIcon = { fg = cpt.blue },
TargetWord = {fg = cpt.cyan}
TargetWord = { fg = cpt.cyan },
}
end
return M

@ -4,7 +4,7 @@ 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}
LspTroubleNormal = { fg = cpt.fg_sidebar, bg = cpt.bg_sidebar },
}
end

@ -7,7 +7,7 @@ function M.get(cpt)
markdownCodeBlock = { fg = cpt.cyan },
markdownH1 = { fg = cpt.magenta, style = "bold" },
markdownH2 = { fg = cpt.blue, style = "bold" },
markdownLinkText = {fg = cpt.blue, style = "underline"}
markdownLinkText = { fg = cpt.blue, style = "underline" },
}
end

@ -31,7 +31,7 @@ function M.get(cpt)
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
LspCodeLens = { fg = cpt.comment }, -- virtual text of the codelens
}
end

@ -9,7 +9,7 @@ function M.get(cpt)
NeogitHunkHeaderHighlight = { bg = cpt.fg_gutter, fg = cpt.blue },
NeogitDiffContextHighlight = { bg = util.darken(cpt.fg_gutter, 0.5), fg = cpt.fg_alt },
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

@ -5,7 +5,7 @@ function M.get(cpt)
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
end
@ -25,7 +25,7 @@ function M.get(cpt)
NvimTreeGitDeleted = { fg = cpt.git.delete },
NvimTreeSpecialFile = { fg = cpt.cyan },
NvimTreeImageFile = { fg = cpt.fg_sidebar },
NvimTreeOpenedFile = {fg = cpt.magenta}
NvimTreeOpenedFile = { fg = cpt.magenta },
}
end

@ -5,7 +5,7 @@ function M.get(cpt)
TelescopeBorder = { fg = cpt.border_highlight },
TelescopeSelectionCaret = { fg = cpt.cyan },
TelescopeSelection = { fg = cpt.cyan, bg = cpt.bg_highlight },
TelescopeMatching = {fg = cpt.blue}
TelescopeMatching = { fg = cpt.blue },
}
end

@ -58,7 +58,7 @@ function M.get(cpt)
-- TSTag = { }; -- Tags like html tag names.
-- TSTagDelimiter = { }; -- Tag delimiter like `<` `>` `/`
-- 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.
-- TSUnderline = { }; -- For text to be represented with an underline.
-- TSStrike = { }; -- For strikethrough texcpt.
@ -69,4 +69,3 @@ function M.get(cpt)
end
return M

@ -3,7 +3,7 @@ local M = {}
function M.get(cpt)
return {
Sneak = { fg = cpt.bg_highlight, bg = cpt.magenta },
SneakScope = {bg = cpt.bg_visual}
SneakScope = { bg = cpt.bg_visual },
}
end

@ -8,7 +8,7 @@ function M.get(cpt)
WhichKeySeperator = { fg = cpt.comment },
WhichKeySeparator = { fg = cpt.comment },
WhichKeyFloat = { bg = cpt.bg_sidebar },
WhichKeyValue = {fg = cpt.comment}
WhichKeyValue = { fg = cpt.comment },
}
end

Loading…
Cancel
Save