diff --git a/.config/nvim/lua/sheldonmlee/packer.lua b/.config/nvim/lua/sheldonmlee/packer.lua index b9543c3..765167c 100644 --- a/.config/nvim/lua/sheldonmlee/packer.lua +++ b/.config/nvim/lua/sheldonmlee/packer.lua @@ -9,16 +9,7 @@ return require('packer').startup(function(use) use 'junegunn/fzf.vim' - use { - 'morhetz/gruvbox', - -- below adapted from old the old vimconfig commands: - -- set termguicolors - -- autocmd vimenter * ++nested colorscheme gruvbox - config = function() - vim.cmd('set termguicolors') - vim.cmd('autocmd vimenter * ++nested colorscheme gruvbox') - end - } + use { "ellisonleao/gruvbox.nvim" } use ('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' }) diff --git a/.config/nvim/lua/sheldonmlee/set.lua b/.config/nvim/lua/sheldonmlee/set.lua index 33a51cf..4ed3ce2 100644 --- a/.config/nvim/lua/sheldonmlee/set.lua +++ b/.config/nvim/lua/sheldonmlee/set.lua @@ -2,6 +2,8 @@ vim.opt.number = true vim.opt.relativenumber = true vim.cmd.syntax("enable") +vim.o.background = "dark" +vim.cmd([[colorscheme gruvbox]]) vim.opt.smartindent = true vim.opt.tabstop = 4