102 lines
3.5 KiB
Lua
102 lines
3.5 KiB
Lua
return
|
|
{
|
|
'catppuccin/nvim',
|
|
name = 'catppuccin',
|
|
config = function()
|
|
require('catppuccin').setup({
|
|
flavour = 'macchiato', -- latte, frappe, macchiato, mocha
|
|
no_italic = true,
|
|
dim_inactive = {
|
|
enabled = true,
|
|
shade = 'dark',
|
|
percentage = 0.15,
|
|
},
|
|
integrations = {
|
|
cmp = true,
|
|
gitsigns = true,
|
|
nvimtree = true,
|
|
telescope = true,
|
|
aerial = true,
|
|
indent_blankline = {
|
|
enabled = true,
|
|
colored_indent_levels = false,
|
|
},
|
|
dap = {
|
|
enabled = true,
|
|
enable_ui = true, -- enable nvim-dap-ui
|
|
},
|
|
neotest = true,
|
|
neotree = true,
|
|
notify = false,
|
|
mini = false,
|
|
which_key = true,
|
|
leap = true,
|
|
native_lsp = {
|
|
enabled = true,
|
|
virtual_text = {
|
|
errors = { 'italic' },
|
|
hints = { 'italic' },
|
|
warnings = { 'italic' },
|
|
information = { 'italic' },
|
|
},
|
|
underlines = {
|
|
errors = { 'underline' },
|
|
hints = { 'underline' },
|
|
warnings = { 'underline' },
|
|
information = { 'underline' },
|
|
},
|
|
},
|
|
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
|
|
},
|
|
highlight_overrides = {
|
|
all = function(colors)
|
|
return {
|
|
-- ['@lsp.mod.readonly'] = { style = { 'bold' } },
|
|
CmpBorder = { fg = '#fe4145' },
|
|
}
|
|
end,
|
|
macchiato = function(macchiato)
|
|
return {
|
|
['@lsp.mod.readonly'] = { style = { 'bold' } },
|
|
['@type.qualifier'] = { fg = macchiato.sky },
|
|
['@namespace'] = { fg = macchiato.red },
|
|
Macro = { fg = macchiato.rosewater }
|
|
}
|
|
end,
|
|
},
|
|
custom_highlights = function(C)
|
|
return {
|
|
CmpItemKindSnippet = { fg = C.base, bg = C.mauve },
|
|
CmpItemKindKeyword = { fg = C.base, bg = C.red },
|
|
CmpItemKindText = { fg = C.base, bg = C.teal },
|
|
CmpItemKindMethod = { fg = C.base, bg = C.blue },
|
|
CmpItemKindConstructor = { fg = C.base, bg = C.blue },
|
|
CmpItemKindFunction = { fg = C.base, bg = C.blue },
|
|
CmpItemKindFolder = { fg = C.base, bg = C.blue },
|
|
CmpItemKindModule = { fg = C.base, bg = C.blue },
|
|
CmpItemKindConstant = { fg = C.base, bg = C.peach },
|
|
CmpItemKindField = { fg = C.base, bg = C.green },
|
|
CmpItemKindProperty = { fg = C.base, bg = C.green },
|
|
CmpItemKindEnum = { fg = C.base, bg = C.green },
|
|
CmpItemKindUnit = { fg = C.base, bg = C.green },
|
|
CmpItemKindClass = { fg = C.base, bg = C.yellow },
|
|
CmpItemKindVariable = { fg = C.base, bg = C.flamingo },
|
|
CmpItemKindFile = { fg = C.base, bg = C.blue },
|
|
CmpItemKindInterface = { fg = C.base, bg = C.yellow },
|
|
CmpItemKindColor = { fg = C.base, bg = C.red },
|
|
CmpItemKindReference = { fg = C.base, bg = C.red },
|
|
CmpItemKindEnumMember = { fg = C.base, bg = C.red },
|
|
CmpItemKindStruct = { fg = C.base, bg = C.blue },
|
|
CmpItemKindValue = { fg = C.base, bg = C.peach },
|
|
CmpItemKindEvent = { fg = C.base, bg = C.blue },
|
|
CmpItemKindOperator = { fg = C.base, bg = C.blue },
|
|
CmpItemKindTypeParameter = { fg = C.base, bg = C.blue },
|
|
CmpItemKindCopilot = { fg = C.base, bg = C.teal },
|
|
}
|
|
end,
|
|
})
|
|
vim.cmd('colorscheme catppuccin')
|
|
end,
|
|
enabled = false
|
|
}
|