diff --git a/nvim/init.lua b/nvim/init.lua index 61ced42..ddd557c 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -12,6 +12,7 @@ require('packer').startup(function(use) use 'wbthomason/packer.nvim' use 'neovim/nvim-lspconfig' use 'nvim-treesitter/nvim-treesitter' + use { "catppuccin/nvim", as = "catppuccin" } use { 'hrsh7th/nvim-cmp', requires = { 'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-buffer', 'hrsh7th/cmp-cmdline', 'hrsh7th/cmp-path', 'hrsh7th/cmp-nvim-lua', 'onsails/lspkind.nvim', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip' } @@ -31,11 +32,25 @@ if is_bootstrap then return end +-- colorscheme + +require("catppuccin").setup({ + flavour = "frappe", + transparent_background = true, +}) + +vim.cmd.colorscheme 'catppuccin' + -- Some basic settings vim.wo.number = true vim.wo.relativenumber = true vim.o.pumheight = 20 +-- Netrw +vim.g.netrw_banner = 0 +vim.g.netrw_liststyle = 3 + + -- Additional keybinds if lsp running local on_attach = function(client, bufnr) local bufopts = { noremap=true, silent=true, buffer=bufnr }