From 2506be3a88fd658c7058710b11ae852df9bd0ae6 Mon Sep 17 00:00:00 2001 From: talksik Date: Tue, 31 Oct 2023 12:55:40 -0700 Subject: [PATCH] boom --- .config/nvim/after/plugin/theme.lua | 52 ++++++++++++++++++++++++++--- .config/nvim/lua/talksik/packer.lua | 2 +- 2 files changed, 49 insertions(+), 5 deletions(-) diff --git a/.config/nvim/after/plugin/theme.lua b/.config/nvim/after/plugin/theme.lua index 7846bd4..f791421 100644 --- a/.config/nvim/after/plugin/theme.lua +++ b/.config/nvim/after/plugin/theme.lua @@ -1,5 +1,49 @@ +require("catppuccin").setup({ + flavour = "latte", -- 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 = {}, + }, + color_overrides = {}, + custom_highlights = {}, + 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) + }, +}) -require('onedark').setup { - style = 'warmer' -} -require('onedark').load() +-- setup must be called before loading +vim.cmd.colorscheme "catppuccin" diff --git a/.config/nvim/lua/talksik/packer.lua b/.config/nvim/lua/talksik/packer.lua index ebc0f6f..923bcf8 100644 --- a/.config/nvim/lua/talksik/packer.lua +++ b/.config/nvim/lua/talksik/packer.lua @@ -67,7 +67,7 @@ return require('packer').startup(function(use) use("ThePrimeagen/harpoon") -- themes - use('navarasu/onedark.nvim') + use { "catppuccin/nvim", as = "catppuccin" } use('nvim-lua/lsp-status.nvim')