ellisonleao / gruvbox.nvim

Lua port of the most famous vim colorscheme
MIT License
1.96k stars 210 forks source link

Granular inverse options in a single table #240

Open ellisonleao opened 1 year ago

ellisonleao commented 1 year ago

Following https://github.com/ellisonleao/gruvbox.nvim/issues/220 idea, we will introduce fine-grained bold options in the setup call

We will need to remove

invert_selection = false,
invert_signs = false,
invert_tabline = false,
invert_intend_guides = false,
inverse = true

and create a new reverse table

require('gruvbox').setup({
   reverse = {
     selection = false,
     signs = false,
     tabline = false,
     intend_guides = false,
     search = true,
     diffs = true,
     statusline = true,
     cursor = true,
     error = true
  }
})
cryptomilk commented 1 year ago

I would name it invert_colors instead of reverse.

Also it would be nice to have:

require('gruvbox').setup({
  font_style = {
    comments = { italic = true },
    keywords = { italic = true },
    functions = { bold = true },
    variables = {},
  },
})