diff options
| -rw-r--r-- | nvim/plugins.vim | 54 | ||||
| -rw-r--r-- | nvim/settings.vim | 2 |
2 files changed, 55 insertions, 1 deletions
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() | |||
| 37 | Plug 'nvim-lua/plenary.nvim' | 37 | Plug 'nvim-lua/plenary.nvim' |
| 38 | Plug 'nvim-telescope/telescope.nvim' | 38 | Plug 'nvim-telescope/telescope.nvim' |
| 39 | 39 | ||
| 40 | Plug 'catppuccin/nvim', { 'as': 'catppuccin' } | ||
| 41 | |||
| 40 | call plug#end() | 42 | call plug#end() |
| 41 | 43 | ||
| 42 | " EMMET | 44 | " EMMET |
| @@ -68,6 +70,58 @@ let g:mundo_preview_height=30 | |||
| 68 | 70 | ||
| 69 | lua << EOF | 71 | lua << EOF |
| 70 | 72 | ||
| 73 | require("catppuccin").setup({ | ||
| 74 | flavour = "auto", -- latte, frappe, macchiato, mocha | ||
| 75 | background = { -- :h background | ||
| 76 | light = "latte", | ||
| 77 | dark = "mocha", | ||
| 78 | }, | ||
| 79 | transparent_background = false, -- disables setting the background color. | ||
| 80 | show_end_of_buffer = false, -- shows the '~' characters after the end of buffers | ||
| 81 | term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`) | ||
| 82 | dim_inactive = { | ||
| 83 | enabled = false, -- dims the background color of inactive window | ||
| 84 | shade = "dark", | ||
| 85 | percentage = 0.15, -- percentage of the shade to apply to the inactive window | ||
| 86 | }, | ||
| 87 | no_italic = false, -- Force no italic | ||
| 88 | no_bold = false, -- Force no bold | ||
| 89 | no_underline = false, -- Force no underline | ||
| 90 | styles = { -- Handles the styles of general hi groups (see `:h highlight-args`): | ||
| 91 | comments = { "italic" }, -- Change the style of comments | ||
| 92 | conditionals = { "italic" }, | ||
| 93 | loops = {}, | ||
| 94 | functions = {}, | ||
| 95 | keywords = {}, | ||
| 96 | strings = {}, | ||
| 97 | variables = {}, | ||
| 98 | numbers = {}, | ||
| 99 | booleans = {}, | ||
| 100 | properties = {}, | ||
| 101 | types = {}, | ||
| 102 | operators = {}, | ||
| 103 | -- miscs = {}, -- Uncomment to turn off hard-coded styles | ||
| 104 | }, | ||
| 105 | color_overrides = {}, | ||
| 106 | custom_highlights = {}, | ||
| 107 | default_integrations = true, | ||
| 108 | integrations = { | ||
| 109 | cmp = true, | ||
| 110 | gitsigns = true, | ||
| 111 | nvimtree = true, | ||
| 112 | treesitter = true, | ||
| 113 | notify = false, | ||
| 114 | mini = { | ||
| 115 | enabled = true, | ||
| 116 | indentscope_color = "", | ||
| 117 | }, | ||
| 118 | -- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations) | ||
| 119 | }, | ||
| 120 | }) | ||
| 121 | |||
| 122 | -- setup must be called before loading | ||
| 123 | vim.cmd.colorscheme "catppuccin" | ||
| 124 | |||
| 71 | require('nvim-treesitter.configs').setup { | 125 | require('nvim-treesitter.configs').setup { |
| 72 | ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "typescript", "python", "html" }, | 126 | ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "typescript", "python", "html" }, |
| 73 | sync_install = false, | 127 | sync_install = false, |
diff --git a/nvim/settings.vim b/nvim/settings.vim index 87047fd..b07d346 100644 --- a/nvim/settings.vim +++ b/nvim/settings.vim | |||
| @@ -78,5 +78,5 @@ filetype plugin indent on | |||
| 78 | 78 | ||
| 79 | " Farbschema | 79 | " Farbschema |
| 80 | set termguicolors | 80 | set termguicolors |
| 81 | colorscheme default | 81 | " colorscheme default |
| 82 | 82 | ||
