Files
.dotfiles/.config/nvim/lua/plugin/gruvbox.lua

24 lines
967 B
Lua

MiniDeps.add({ source = 'https://github.com/ellisonleao/gruvbox.nvim' })
local colour = require('gruvbox')
colour.setup({
styles = {
comments = { italic = true }
},
overrides = {
-- Relink some highlight groups
['@variable.member'] = { link = '@variable' },
['@variable.parameter'] = { link = '@variable' },
['@parameter'] = { link = '@variable.parameter' },
['@property'] = { link = '@variable.member' },
['@string.special.symbol'] = { link = '@string' },
['@string.special.path'] = { link = '@string' },
['@string.special.url'] = { link = '@string' },
['SpellBad'] = { sp = colour.palette.gray, undercurl = true },
['SpellCap'] = { sp = colour.palette.gray, undercurl = true },
['SpellRare'] = { sp = colour.palette.gray, undercurl = true },
['SpellLocal'] = { sp = colour.palette.gray, undercurl = true }
}
})
vim.cmd.colorscheme('gruvbox')