Use lua gruvbox extension

This commit is contained in:
Sheldon Lee 2024-09-28 01:06:26 +08:00
parent b762ceac3e
commit a66d3f9c73
2 changed files with 3 additions and 10 deletions

View File

@ -9,16 +9,7 @@ return require('packer').startup(function(use)
use 'junegunn/fzf.vim' use 'junegunn/fzf.vim'
use { use { "ellisonleao/gruvbox.nvim" }
'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 ('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' }) use ('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })

View File

@ -2,6 +2,8 @@ vim.opt.number = true
vim.opt.relativenumber = true vim.opt.relativenumber = true
vim.cmd.syntax("enable") vim.cmd.syntax("enable")
vim.o.background = "dark"
vim.cmd([[colorscheme gruvbox]])
vim.opt.smartindent = true vim.opt.smartindent = true
vim.opt.tabstop = 4 vim.opt.tabstop = 4