From b133da1a68b69ce332d0b153f95731f2870070ea Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Fri, 1 Nov 2024 17:42:29 +0100 Subject: verwende 'catppuccin' als neues Thema in NeoVIM --- nvim/plugins.vim | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'nvim/plugins.vim') diff --git a/nvim/plugins.vim b/nvim/plugins.vim index 98ea797..0563fda 100644 --- a/nvim/plugins.vim +++ b/nvim/plugins.vim @@ -37,6 +37,8 @@ call plug#begin() Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim' + Plug 'catppuccin/nvim', { 'as': 'catppuccin' } + call plug#end() " EMMET @@ -68,6 +70,58 @@ let g:mundo_preview_height=30 lua << EOF +require("catppuccin").setup({ + flavour = "auto", -- latte, frappe, macchiato, mocha + background = { -- :h background + light = "latte", + dark = "mocha", + }, + transparent_background = false, -- disables setting the background color. + show_end_of_buffer = false, -- shows the '~' characters after the end of buffers + term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`) + dim_inactive = { + enabled = false, -- dims the background color of inactive window + shade = "dark", + percentage = 0.15, -- percentage of the shade to apply to the inactive window + }, + no_italic = false, -- 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 = { "italic" }, + loops = {}, + functions = {}, + keywords = {}, + strings = {}, + variables = {}, + numbers = {}, + booleans = {}, + properties = {}, + types = {}, + operators = {}, + -- miscs = {}, -- Uncomment to turn off hard-coded styles + }, + color_overrides = {}, + custom_highlights = {}, + default_integrations = true, + integrations = { + cmp = true, + gitsigns = true, + nvimtree = true, + treesitter = true, + notify = false, + mini = { + enabled = true, + indentscope_color = "", + }, + -- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations) + }, +}) + +-- setup must be called before loading +vim.cmd.colorscheme "catppuccin" + require('nvim-treesitter.configs').setup { ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "typescript", "python", "html" }, sync_install = false, -- cgit v1.3