Refresh generated neovim config
This commit is contained in:
@ -12,7 +12,7 @@ function M.get()
|
||||
DapUIStoppedThread = { fg = C.sky },
|
||||
DapUISource = { fg = C.lavender },
|
||||
DapUILineNumber = { fg = C.sky },
|
||||
DapUIFloatBorder = { fg = C.sky },
|
||||
DapUIFloatBorder = { link = "FloatBorder" },
|
||||
|
||||
DapUIWatchesEmpty = { fg = C.maroon },
|
||||
DapUIWatchesValue = { fg = C.green },
|
||||
|
||||
@ -32,6 +32,7 @@ local sett = {
|
||||
curr_file = C.maroon,
|
||||
curr_dir = C.flamingo,
|
||||
show_modified = false,
|
||||
show_lazy_updates = false,
|
||||
}
|
||||
|
||||
if require("catppuccin").flavour == "latte" then
|
||||
@ -287,7 +288,7 @@ function M.get()
|
||||
-- macro
|
||||
components.active[1][12] = {
|
||||
provider = "macro",
|
||||
enabled = function() return vim.api.nvim_get_option "cmdheight" == 0 end,
|
||||
enabled = function() return vim.api.nvim_get_option_value("cmdheight", { scope = "global" }) == 0 end,
|
||||
hl = {
|
||||
fg = sett.extras,
|
||||
bg = sett.bkg,
|
||||
@ -298,7 +299,24 @@ function M.get()
|
||||
-- search count
|
||||
components.active[1][13] = {
|
||||
provider = "search_count",
|
||||
enabled = function() return vim.api.nvim_get_option "cmdheight" == 0 end,
|
||||
enabled = function() return vim.api.nvim_get_option_value("cmdheight", { scope = "global" }) == 0 end,
|
||||
hl = {
|
||||
fg = sett.extras,
|
||||
bg = sett.bkg,
|
||||
},
|
||||
left_sep = invi_sep,
|
||||
}
|
||||
|
||||
-- lazy.nvim updates
|
||||
components.active[1][14] = {
|
||||
provider = function() return require("lazy.status").updates() end,
|
||||
enabled = function()
|
||||
if sett.show_lazy_updates and pcall(require, "lazy") then
|
||||
return require("lazy.status").has_updates()
|
||||
else
|
||||
return false
|
||||
end
|
||||
end,
|
||||
hl = {
|
||||
fg = sett.extras,
|
||||
bg = sett.bkg,
|
||||
@ -412,7 +430,7 @@ function M.get()
|
||||
|
||||
components.active[3][2] = {
|
||||
provider = function()
|
||||
local active_clients = vim.lsp.get_active_clients { bufnr = 0 }
|
||||
local active_clients = vim.lsp.get_clients { bufnr = 0 }
|
||||
|
||||
-- show an indicator that we have running lsps
|
||||
if view.lsp.name == false and next(active_clients) ~= nil then return assets.lsp.server .. " " .. "Lsp" end
|
||||
|
||||
@ -6,17 +6,12 @@ function M.get()
|
||||
fg = O.transparent_background and C.pink or U.vary_color({ latte = "#222222" }, U.brighten(C.green, 0.3)),
|
||||
style = { "underline", "nocombine", O.transparent_background and "bold" or nil },
|
||||
},
|
||||
LeapLabelPrimary = {
|
||||
LeapLabel = {
|
||||
fg = O.transparent_background and C.green or U.vary_color({ latte = "#222222" }, C.base),
|
||||
bg = O.transparent_background and C.none
|
||||
or U.vary_color({ latte = U.brighten(C.red, 0.4) }, U.brighten(C.green, 0.3)),
|
||||
style = { "nocombine", O.transparent_background and "bold" or nil },
|
||||
},
|
||||
LeapLabelSecondary = {
|
||||
fg = O.transparent_background and C.blue or U.vary_color({ latte = "#222222" }, C.base),
|
||||
bg = O.transparent_background and C.none or U.vary_color({ latte = U.brighten(C.sky, 0.3) }, C.sky),
|
||||
style = { "nocombine", O.transparent_background and "bold" or nil },
|
||||
},
|
||||
LeapBackdrop = { fg = O.transparent_background and C.overlay0 or C.none },
|
||||
}
|
||||
end
|
||||
|
||||
@ -8,17 +8,99 @@ function M.get()
|
||||
|
||||
local indentscope_color = O.integrations.mini.indentscope_color
|
||||
return {
|
||||
MiniAnimateCursor = { style = { "reverse", "nocombine" } },
|
||||
MiniAnimateNormalFloat = { link = "NormalFloat" },
|
||||
|
||||
MiniClueBorder = { link = "FloatBorder" },
|
||||
MiniClueDescGroup = { link = "DiagnosticFloatingWarn" },
|
||||
MiniClueDescSingle = { link = "NormalFloat" },
|
||||
MiniClueNextKey = { link = "DiagnosticFloatingHint" },
|
||||
MiniClueNextKeyWithPostkeys = { link = "DiagnosticFloatingError" },
|
||||
MiniClueSeparator = { link = "DiagnosticFloatingInfo" },
|
||||
MiniClueTitle = { link = "FloatTitle" },
|
||||
|
||||
MiniCompletionActiveParameter = { style = { "underline" } },
|
||||
|
||||
MiniCursorword = { style = { "underline" } },
|
||||
MiniCursorwordCurrent = { style = { "underline" } },
|
||||
|
||||
MiniDepsChangeAdded = { link = "diffAdded" },
|
||||
MiniDepsChangeRemoved = { link = "diffRemoved" },
|
||||
MiniDepsHint = { link = "DiagnosticHint" },
|
||||
MiniDepsInfo = { link = "DiagnosticInfo" },
|
||||
MiniDepsMsgBreaking = { link = "DiagnosticWarn" },
|
||||
MiniDepsPlaceholder = { link = "Comment" },
|
||||
MiniDepsTitle = { link = "Title" },
|
||||
MiniDepsTitleError = { bg = C.red, fg = C.base },
|
||||
MiniDepsTitleSame = { link = "DiffText" },
|
||||
MiniDepsTitleUpdate = { bg = C.green, fg = C.base },
|
||||
|
||||
MiniDiffSignAdd = { fg = C.green },
|
||||
MiniDiffSignChange = { fg = C.yellow },
|
||||
MiniDiffSignDelete = { fg = C.red },
|
||||
MiniDiffOverAdd = { link = "DiffAdd" },
|
||||
MiniDiffOverChange = { link = "DiffText" },
|
||||
MiniDiffOverContext = { link = "DiffChange" },
|
||||
MiniDiffOverDelete = { link = "DiffDelete" },
|
||||
|
||||
MiniFilesBorder = { link = "FloatBorder" },
|
||||
MiniFilesBorderModified = { link = "DiagnosticFloatingWarn" },
|
||||
MiniFilesCursorLine = { link = "CursorLine" },
|
||||
MiniFilesDirectory = { link = "Directory" },
|
||||
MiniFilesFile = { fg = C.text },
|
||||
MiniFilesNormal = { link = "NormalFloat" },
|
||||
MiniFilesTitle = { link = "FloatTitle" },
|
||||
MiniFilesTitleFocused = { fg = C.subtext0, style = { "bold" } },
|
||||
|
||||
MiniHipatternsFixme = { fg = C.base, bg = C.red, style = { "bold" } },
|
||||
MiniHipatternsHack = { fg = C.base, bg = C.yellow, style = { "bold" } },
|
||||
MiniHipatternsNote = { fg = C.base, bg = C.sky, style = { "bold" } },
|
||||
MiniHipatternsTodo = { fg = C.base, bg = C.teal, style = { "bold" } },
|
||||
|
||||
MiniIconsAzure = { fg = C.sapphire },
|
||||
MiniIconsBlue = { fg = C.blue },
|
||||
MiniIconsCyan = { fg = C.teal },
|
||||
MiniIconsGreen = { fg = C.green },
|
||||
MiniIconsGrey = { fg = C.text },
|
||||
MiniIconsOrange = { fg = C.peach },
|
||||
MiniIconsPurple = { fg = C.mauve },
|
||||
MiniIconsRed = { fg = C.red },
|
||||
MiniIconsYellow = { fg = C.yellow },
|
||||
|
||||
MiniIndentscopeSymbol = { fg = C[indentscope_color] or C.text },
|
||||
MiniIndentscopePrefix = { style = { "nocombine" } }, -- Make it invisible
|
||||
|
||||
MiniJump = { fg = C.overlay2, bg = C.pink },
|
||||
|
||||
MiniJump2dDim = { fg = C.overlay0 },
|
||||
MiniJump2dSpot = { bg = C.base, fg = C.peach, style = { "bold", "underline" } },
|
||||
MiniJump2dSpotAhead = { bg = C.dim, fg = C.teal },
|
||||
MiniJump2dSpotUnique = { bg = C.base, fg = C.sky, style = { "bold" } },
|
||||
|
||||
MiniMapNormal = { link = "NormalFloat" },
|
||||
MiniMapSymbolCount = { link = "Special" },
|
||||
MiniMapSymbolLine = { link = "Title" },
|
||||
MiniMapSymbolView = { link = "Delimiter" },
|
||||
|
||||
MiniNotifyBorder = { link = "FloatBorder" },
|
||||
MiniNotifyNormal = { link = "NormalFloat" },
|
||||
MiniNotifyTitle = { link = "FloatTitle" },
|
||||
|
||||
MiniOperatorsExchangeFrom = { link = "IncSearch" },
|
||||
|
||||
MiniPickBorder = { link = "FloatBorder" },
|
||||
MiniPickBorderBusy = { link = "DiagnosticFloatingWarn" },
|
||||
MiniPickBorderText = { fg = C.mauve },
|
||||
MiniPickIconDirectory = { link = "Directory" },
|
||||
MiniPickIconFile = { link = "MiniPickNormal" },
|
||||
MiniPickHeader = { link = "DiagnosticFloatingHint" },
|
||||
MiniPickMatchCurrent = { link = "CursorLine" },
|
||||
MiniPickMatchMarked = { link = "Visual" },
|
||||
MiniPickMatchRanges = { link = "DiagnosticFloatingHint" },
|
||||
MiniPickNormal = { link = "NormalFloat" },
|
||||
MiniPickPreviewLine = { link = "CursorLine" },
|
||||
MiniPickPreviewRegion = { link = "IncSearch" },
|
||||
MiniPickPrompt = { link = "DiagnosticFloatingInfo" },
|
||||
|
||||
MiniStarterCurrent = {},
|
||||
MiniStarterFooter = { fg = C.yellow, style = { "italic" } },
|
||||
|
||||
@ -195,6 +195,9 @@ If you want to stay on nvim 0.7, either disable the integration or pin catppucci
|
||||
-- gitcommit
|
||||
["@comment.warning.gitcommit"] = { fg = C.yellow },
|
||||
|
||||
-- gitignore
|
||||
["@string.special.path.gitignore"] = { fg = C.text },
|
||||
|
||||
-- Misc
|
||||
gitcommitSummary = { fg = C.rosewater, style = O.styles.miscs or { "italic" } },
|
||||
zshKSHFunction = { link = "Function" },
|
||||
|
||||
@ -96,6 +96,17 @@ function M.get()
|
||||
rainbow4 = { fg = C.green },
|
||||
rainbow5 = { fg = C.sapphire },
|
||||
rainbow6 = { fg = C.lavender },
|
||||
|
||||
-- csv
|
||||
csvCol0 = { fg = C.red },
|
||||
csvCol1 = { fg = C.peach },
|
||||
csvCol2 = { fg = C.yellow },
|
||||
csvCol3 = { fg = C.green },
|
||||
csvCol4 = { fg = C.sky },
|
||||
csvCol5 = { fg = C.blue },
|
||||
csvCol6 = { fg = C.lavender },
|
||||
csvCol7 = { fg = C.mauve },
|
||||
csvCol8 = { fg = C.pink },
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
@ -52,6 +52,7 @@ local M = {
|
||||
nvimtree = true,
|
||||
ufo = true,
|
||||
rainbow_delimiters = true,
|
||||
render_markdown = true,
|
||||
semantic_tokens = not is_vim,
|
||||
telescope = { enabled = true },
|
||||
treesitter = not is_vim,
|
||||
@ -103,6 +104,10 @@ local M = {
|
||||
enabled = false,
|
||||
color = "red",
|
||||
},
|
||||
mini = {
|
||||
enabled = true,
|
||||
indentscope_color = "text",
|
||||
},
|
||||
},
|
||||
color_overrides = {},
|
||||
highlight_overrides = {},
|
||||
|
||||
@ -151,6 +151,7 @@
|
||||
---@field flash boolean?
|
||||
---@field gitgutter boolean?
|
||||
---@field gitsigns boolean?
|
||||
---@field grug_far boolean?
|
||||
---@field harpoon boolean?
|
||||
---@field headlines boolean?
|
||||
---@field hop boolean?
|
||||
@ -185,11 +186,13 @@
|
||||
---@field neotree boolean?
|
||||
---@field noice boolean?
|
||||
---@field notify boolean?
|
||||
---@field nvim_surround boolean?
|
||||
---@field nvimtree boolean?
|
||||
---@field octo boolean?
|
||||
---@field overseer boolean?
|
||||
---@field pounce boolean?
|
||||
---@field rainbow_delimiters boolean?
|
||||
---@field render_markdown boolean?
|
||||
---@field sandwich boolean?
|
||||
---@field semantic_tokens boolean?
|
||||
---@field symbols_outline boolean?
|
||||
|
||||
Reference in New Issue
Block a user