added catppuccin to nvim

This commit is contained in:
Nicolai Van der Storm 2023-10-17 09:26:32 +02:00
parent 99f35bf702
commit 618a923165
Signed by: NicolaiVdS
GPG Key ID: CA53B34914EFD59B
3 changed files with 56 additions and 1 deletions

View File

@ -1,2 +1,5 @@
--- Plugin Managers --- --- Plugin Managers ---
require(".lazy") require(".lazy")
--- Colorschemes ---
vim.cmd("runtime! lua/plugins/colorschemes/*.lua")

View File

@ -17,6 +17,9 @@ vim.opt.rtp:prepend(lazypath)
local plugins = { local plugins = {
--- Lazy --- --- Lazy ---
"folke/lazy.nvim" --- Lazy will manage itself "folke/lazy.nvim" --- Lazy will manage itself
--- Colorschemes ---
{ "catppuccin/nvim", name = "catppuccin", lazy = false, priority = 1000 },
} }
local opts = {} local opts = {}

View File

@ -0,0 +1,49 @@
local status, plugin = pcall(require, 'catppuccin')
if not status then
print('Plugin Error: ', plugin)
return
end
plugin.setup({
flavour = "mocha", -- latte, frappe, macchiato, mocha
background = { -- :h background
light = "latte",
dark = "mocha",
},
transparent_background = false,
show_end_of_buffer = false, -- show the '~' characters after the end of buffers
term_colors = false,
dim_inactive = {
enabled = false,
shade = "dark",
percentage = 0.15,
},
no_italic = false, -- Force no italic
no_bold = false, -- Force no bold
no_underline = false, -- Force no underline
styles = {
comments = { "italic" },
conditionals = { "italic" },
loops = {},
functions = {},
keywords = {},
strings = {},
variables = {},
numbers = {},
booleans = {},
properties = {},
types = {},
operators = {},
},
color_overrides = {},
custom_highlights = {},
integrations = {
cmp = true,
gitsigns = true,
nvimtree = true,
telescope = true,
notify = false,
mini = false,
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
},
})