nvim: add config files
This commit is contained in:
98
nvim/lua/plugins/catppuccin.lua
Normal file
98
nvim/lua/plugins/catppuccin.lua
Normal file
@@ -0,0 +1,98 @@
|
||||
return {
|
||||
"catppuccin/nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
require('catppuccin').setup {
|
||||
flavour = "mocha", -- latte, frappe, macchiato, mocha
|
||||
background = { -- :h background
|
||||
light = "latte",
|
||||
dark = "mocha",
|
||||
},
|
||||
transparent_background = false, -- disables setting the background color.
|
||||
show_end_of_buffer = true, -- shows the '~' characters after the end of buffers
|
||||
term_colors = true, -- sets terminal colors (e.g. `g:terminal_color_0`)
|
||||
dim_inactive = {
|
||||
enabled = true, -- dims the background color of inactive window
|
||||
shade = "dark",
|
||||
percentage = 0.15, -- percentage of the shade to apply to the inactive window
|
||||
},
|
||||
no_italic = true, -- Force no italic
|
||||
no_bold = false, -- Force no bold
|
||||
no_underline = false, -- Force no underline
|
||||
styles = { -- Handles the styles of general hi groups (see `:h highlight-args`):
|
||||
comments = { "italic" }, -- Change the style of comments
|
||||
conditionals = {},
|
||||
loops = {},
|
||||
functions = { "italic" },
|
||||
keywords = {},
|
||||
strings = {},
|
||||
variables = {},
|
||||
numbers = {},
|
||||
booleans = {},
|
||||
properties = {},
|
||||
types = { "bold" },
|
||||
operators = {},
|
||||
},
|
||||
color_overrides = {},
|
||||
highlight_overrides = {
|
||||
all = function(colors)
|
||||
return {
|
||||
DashboardHeader = { fg = colors.yellow },
|
||||
DashboardHotkeyFiles = { fg = colors.flamingo },
|
||||
DashboardHotkeyProjects = { fg = colors.lavender },
|
||||
DashboardHotkeyNotes = { fg = colors.pink },
|
||||
DashboardHotkeyDotfiles = { fg = colors.sapphire },
|
||||
DashboardHotkeyNotifications = { fg = colors.peach },
|
||||
DashboardHotkeyQuit = { fg = colors.red },
|
||||
|
||||
StorageClass = { fg = colors.lavender },
|
||||
Structure = { fg = colors.lavender } ,
|
||||
--Identifier = { fg = colors.yellow } ,
|
||||
["@lsp.type.class.c"] = { fg = colors.yellow },
|
||||
["@lsp.type.class.cpp"] = { fg = colors.yellow },
|
||||
["@lsp.type.enum.c"] = { fg = colors.yellow },
|
||||
["@lsp.type.enum.cpp"] = { fg = colors.yellow },
|
||||
["@lsp.type.macro.c"] = { fg = colors.peach },
|
||||
["@lsp.type.macro.cpp"] = { fg = colors.peach },
|
||||
["@function.builtin"] = { fg = colors.blue },
|
||||
["@property"] = { fg = colors.rosewater },
|
||||
PreProc = { fg = colors.mauve },
|
||||
}
|
||||
end,
|
||||
mocha = function(colors)
|
||||
return {
|
||||
String = { fg = colors.green, bg = '#292a36' },
|
||||
Special = { fg = colors.red, bg = '#292a36' },
|
||||
CursorLineNr = { fg = colors.lavender, bg = '#2a2b3c' }
|
||||
}
|
||||
end,
|
||||
latte = function(colors)
|
||||
return {
|
||||
--String = { fg = colors.green, bg = '#d9f3da' },
|
||||
--Special = { fg = colors.red, bg = '#d9f3da' },
|
||||
CursorLineNr = { fg = colors.lavender, bg = '#dce4f7' }
|
||||
}
|
||||
end
|
||||
},
|
||||
integrations = {
|
||||
cmp = true,
|
||||
gitsigns = true,
|
||||
nvimtree = true,
|
||||
treesitter = true,
|
||||
notify = true,
|
||||
hop = true,
|
||||
noice = true,
|
||||
telescope = {
|
||||
enabled = true,
|
||||
},
|
||||
mini = {
|
||||
enabled = true,
|
||||
indentscope_color = "",
|
||||
},
|
||||
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
|
||||
},
|
||||
}
|
||||
vim.cmd([[colorscheme catppuccin]])
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user