This repo is being kept for historical purposes and may be deleted in the future. Use https://github.com/f4z3r/gruvbox-material.nvim instead.
A port of gruvbox-material colorscheme for Neovim written in Lua. Supports both dark
and light
themes, based on configured background.
Gruvbox Material is a modified version of Gruvbox, the contrast is adjusted to be softer in order to protect developers' eyes. Colorscheme supports a lot of new features added to Neovim like built-in LSP and Treesitter.
- Supported Plugins:
- Treesitter
- Telescope
- LSP Diagnostics
- Nvim Tree
- NERDTree
- Startify
- vim-gitgutter
- undotree
- Vista.vim
- Hop
- WhichKey
- indentLine
- Indent Blankline
- And many other plugins you can find here
Please feel free to open an issue if you want some features or other plugins to be included.
- Neovim >= 0.5.0
Install via your favourite package manager:
Plug 'wittyjudge/gruvbox-material.nvim'
use 'wittyjudge/gruvbox-material.nvim'
Load the colors scheme:
Lua:
require('gruvbox-material').setup()
-- or
vim.cmd('colorscheme gruvbox-material')
Vim script:
colorscheme gruvbox-material
This is an example of the function with the default values.
❗️ configuration needs to be set BEFORE loading the color scheme
Option | Default | Description |
---|---|---|
gruvbox_material_enable_italic_comment | 1 |
Make comments italic |
Lua:
vim.g.gruvbox_material_enable_italic_comment = 1
Vim script:
let g:gruvbox_material_enable_italic_comment = 1