From 4b5d01a6460e350b314274d075ba55ff166a902d Mon Sep 17 00:00:00 2001 From: qwjyh Date: Sun, 12 Mar 2023 20:09:56 +0900 Subject: [PATCH] update: nvim: colorscheme catppucin - transparent --- dotfiles/neovim/init.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index a3a9d1b..4229292 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -15,6 +15,7 @@ vim.opt.rtp:prepend(lazypath) -- Installing plugins require('lazy').setup({ + { "catppuccin/nvim", name = "catppuccin" }, -- fzf { 'ibhagwan/fzf-lua', -- optional icon @@ -59,8 +60,17 @@ highlight cursorcolumn ctermbg=235 ]]) vim.o.mouse = 'a' vim.o.signcolumn = 'yes' -vim.o.ignorecase = true +vim.o.ignorecase = true -- keep signcolumn on vim.o.smartcase = true +vim.opt.undofile = true -- Save undo history +vim.o.completeopt = 'menuone,noselect' -- for better completion experience +vim.o.termguicolors = true + +-- color scheme +require('catppuccin').setup({ + transparent_background = true, +}) +vim.cmd.colorscheme "catppuccin" ----------------------------------------------------------- -- to use PowerShell on Windows