neovim: Tweak gruvbox theme
This commit is contained in:
parent
82abed7e25
commit
b128903bfb
|
@ -1,12 +1,13 @@
|
||||||
" Packer plugins
|
" Packer plugins
|
||||||
lua require('plugins')
|
lua require('plugins')
|
||||||
|
|
||||||
" Gruvbox Theme
|
" Gruvbox Theme (colorscheme applied from plugins.lua)
|
||||||
if has('termguicolors')
|
if has('termguicolors')
|
||||||
set termguicolors
|
set termguicolors
|
||||||
endif
|
endif
|
||||||
" For dark version.
|
" For dark version.
|
||||||
set background=dark
|
set background=dark
|
||||||
|
" We need to apply this here too to make sure the startup components work
|
||||||
colorscheme gruvbox
|
colorscheme gruvbox
|
||||||
|
|
||||||
" Miscellaneous boilerplate
|
" Miscellaneous boilerplate
|
||||||
|
|
|
@ -10,11 +10,17 @@ return require('packer').startup(function(use)
|
||||||
-- Gruvbox theme
|
-- Gruvbox theme
|
||||||
use {
|
use {
|
||||||
"ellisonleao/gruvbox.nvim",
|
"ellisonleao/gruvbox.nvim",
|
||||||
config = function() require("gruvbox").setup({
|
config = function()
|
||||||
bold = false,
|
require("gruvbox").setup({
|
||||||
italic = true,
|
bold = false,
|
||||||
strikethrough = true,
|
italic = true,
|
||||||
}) end,
|
strikethrough = true,
|
||||||
|
overrides = {
|
||||||
|
Directory = { link = "GruvboxFg2" },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
vim.cmd("colorscheme gruvbox")
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- A way saner buffer closing implementation
|
-- A way saner buffer closing implementation
|
||||||
|
|
Loading…
Reference in New Issue