1

Refresh generated nvim config

This commit is contained in:
2024-06-03 21:11:20 +02:00
parent fd506d4921
commit 50723ef645
2114 changed files with 84528 additions and 44473 deletions

View File

@ -439,12 +439,14 @@ native_lsp = {
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
ok = { "italic" },
},
underlines = {
errors = { "underline" },
hints = { "underline" },
warnings = { "underline" },
information = { "underline" },
ok = { "underline" },
},
inlay_hints = {
background = true,
@ -1038,12 +1040,14 @@ native_lsp = {
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
ok = { "italic" },
},
underlines = {
errors = { "underline" },
hints = { "underline" },
warnings = { "underline" },
information = { "underline" },
ok = { "underline" },
},
inlay_hints = {
background = true,

View File

@ -366,12 +366,14 @@ directly at the thing (e.g. an error)).
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
ok = { "italic" },
},
underlines = {
errors = { "underline" },
hints = { "underline" },
warnings = { "underline" },
information = { "underline" },
ok = { "underline" },
},
inlay_hints = {
background = true,
@ -674,12 +676,14 @@ nvim-lspconfig>lua
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
ok = { "italic" },
},
underlines = {
errors = { "underline" },
hints = { "underline" },
warnings = { "underline" },
information = { "underline" },
ok = { "underline" },
},
inlay_hints = {
background = true,

View File

@ -0,0 +1,15 @@
catppuccin-compile catppuccin.txt /*catppuccin-compile*
catppuccin-configuration catppuccin.txt /*catppuccin-configuration*
catppuccin-customize-highlights catppuccin.txt /*catppuccin-customize-highlights*
catppuccin-customize-highlights-get-catppuccin-colors catppuccin.txt /*catppuccin-customize-highlights-get-catppuccin-colors*
catppuccin-customize-highlights-overwriting-colors catppuccin.txt /*catppuccin-customize-highlights-overwriting-colors*
catppuccin-faq catppuccin.txt /*catppuccin-faq*
catppuccin-faq-wrong-treesitter-highlights catppuccin.txt /*catppuccin-faq-wrong-treesitter-highlights*
catppuccin-features catppuccin.txt /*catppuccin-features*
catppuccin-installation catppuccin.txt /*catppuccin-installation*
catppuccin-integrations catppuccin.txt /*catppuccin-integrations*
catppuccin-links catppuccin.txt /*catppuccin-links*
catppuccin-table-of-contents catppuccin.txt /*catppuccin-table-of-contents*
catppuccin-thanks-to catppuccin.txt /*catppuccin-thanks-to*
catppuccin-usage catppuccin.txt /*catppuccin-usage*
catppuccin.txt catppuccin.txt /*catppuccin.txt*

View File

@ -9,6 +9,7 @@ function M.get()
local warning = C.yellow
local info = C.sky
local hint = C.teal
local ok = C.green
local darkening_percentage = 0.095
return {
@ -40,27 +41,35 @@ function M.get()
fg = hint,
style = virtual_text.hints,
}, -- Used as the mantle highlight group. Other Diagnostic highlights link to this by default
DiagnosticVirtualTextOk = {
bg = O.transparent_background and C.none or U.darken(hint, darkening_percentage, C.base),
fg = ok,
style = virtual_text.ok,
}, -- Used as the mantle highlight group. Other Diagnostic highlights link to this by default
DiagnosticError = { bg = C.none, fg = error, style = virtual_text.errors }, -- Used as the mantle highlight group. Other Diagnostic highlights link to this by default
DiagnosticWarn = { bg = C.none, fg = warning, style = virtual_text.warnings }, -- Used as the mantle highlight group. Other Diagnostic highlights link to this by default
DiagnosticInfo = { bg = C.none, fg = info, style = virtual_text.information }, -- Used as the mantle highlight group. Other Diagnostic highlights link to this by default
DiagnosticHint = { bg = C.none, fg = hint, style = virtual_text.hints }, -- Used as the mantle highlight group. Other Diagnostic highlights link to this by default
DiagnosticOk = { bg = C.none, fg = ok, style = virtual_text.ok }, -- Used as the mantle highlight group. Other Diagnostic highlights link to this by default
-- for nvim nightly
DiagnosticUnderlineError = { style = underlines.errors, sp = error }, -- Used to underline "Error" diagnostics
DiagnosticUnderlineWarn = { style = underlines.warnings, sp = warning }, -- Used to underline "Warn" diagnostics
DiagnosticUnderlineInfo = { style = underlines.information, sp = info }, -- Used to underline "Info" diagnostics
DiagnosticUnderlineHint = { style = underlines.hints, sp = hint }, -- Used to underline "Hint" diagnostics
DiagnosticUnderlineOk = { style = underlines.ok, sp = ok }, -- Used to underline "Ok" diagnostics
DiagnosticFloatingError = { fg = error }, -- Used to color "Error" diagnostic messages in diagnostics float
DiagnosticFloatingWarn = { fg = warning }, -- Used to color "Warn" diagnostic messages in diagnostics float
DiagnosticFloatingInfo = { fg = info }, -- Used to color "Info" diagnostic messages in diagnostics float
DiagnosticFloatingHint = { fg = hint }, -- Used to color "Hint" diagnostic messages in diagnostics float
DiagnosticFloatingOk = { fg = ok }, -- Used to color "Ok" diagnostic messages in diagnostics float
DiagnosticSignError = { fg = error }, -- Used for "Error" signs in sign column
DiagnosticSignWarn = { fg = warning }, -- Used for "Warn" signs in sign column
DiagnosticSignInfo = { fg = info }, -- Used for "Info" signs in sign column
DiagnosticSignHint = { fg = hint }, -- Used for "Hint" signs in sign column
DiagnosticSignOk = { fg = ok }, -- Used for "Ok" signs in sign column
LspDiagnosticsDefaultError = { fg = error }, -- Used as the mantle highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultWarning = { fg = warning }, -- Used as the mantle highlight group. Other LspDiagnostic highlights link to this by default (except Underline)

View File

@ -1,18 +1,21 @@
local M = {}
function M.get()
return O.transparent_background and {
TreesitterContextBottom = { sp = C.dim, style = { "underline" } },
} or {
TreesitterContextBottom = {
sp = C.surface0,
style = { "underline" },
},
TreesitterContextLineNumber = {
fg = C.surface1,
bg = C.mantle,
},
}
return O.transparent_background
and {
TreesitterContextBottom = { sp = C.dim, style = { "underline" } },
TreesitterContextLineNumber = { fg = C.rosewater },
}
or {
TreesitterContextBottom = {
sp = C.surface0,
style = { "underline" },
},
TreesitterContextLineNumber = {
fg = C.surface1,
bg = C.mantle,
},
}
end
return M

View File

@ -78,12 +78,14 @@ local M = {
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
ok = { "italic" },
},
underlines = {
errors = { "underline" },
hints = { "underline" },
warnings = { "underline" },
information = { "underline" },
ok = { "underline" },
},
inlay_hints = {
background = true,

View File

@ -87,14 +87,16 @@
---@field miscs CtpHighlightArgs[]?
---@class CtpNativeLspStyles
-- Change the style of LSP errors.
-- Change the style of LSP error diagnostics.
---@field errors CtpHighlightArgs[]?
-- Change the style of LSP hints.
-- Change the style of LSP hint diagnostics.
---@field hints CtpHighlightArgs[]?
-- Change the style of LSP warnings.
-- Change the style of LSP warning diagnostics.
---@field warnings CtpHighlightArgs[]?
-- Change the style of LSP information.
-- Change the style of LSP information diagnostics.
---@field information CtpHighlightArgs[]?
-- Change the style of LSP ok diagnostics.
---@field ok CtpHighlightArgs[]?
---@class CtpNativeLspInlayHints
-- Toggle the background of inlay hints.