aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/config/.config/nvim/lua/plugins/00-gruvbox.lua
blob: 0323d2b4d716f97c373507defcdbdd3033684241 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
return {
  -- add gruvbox
  { -- https://github.com/ellisonleao/gruvbox.nvim
    "ellisonleao/gruvbox.nvim",
    priority = 1000,
    opts = function(_, opts)
      ---@class gruvbox: GruvboxPalette
      local gruvbox = require("gruvbox").palette
      gruvbox.dark0_hard_light = "#232627"
      gruvbox.dark0_hard_dark = "#101c1d"

      opts.transparent_mode = true
      opts.contrast = "hard"
      opts.overrides = {
        Normal            = { bg = gruvbox.dark0_hard },
        CursorLine        = { bg = gruvbox.dark0 },
        CursorLineNr      = { bg = gruvbox.dark1 },
        CursorLineFold    = { bg = gruvbox.dark1 },
        CursorLineSign    = { bg = gruvbox.dark1 },

        GitSignsAdd       = { fg = gruvbox.neutral_green },
        GitSignsChange    = { fg = gruvbox.neutral_orange },
        GitSignsDelete    = { fg = gruvbox.neutral_red },

        GitSignsAddCul    = { fg = gruvbox.bright_green,
                              bg = gruvbox.dark1 },
        GitSignsChangeCul = { fg = gruvbox.bright_orange,
                              bg = gruvbox.dark1 },
        GitSignsDeleteCul = { fg = gruvbox.bright_red,
                              bg = gruvbox.dark1 },
      }
    end
  },

  -- Configure LazyVim to load gruvbox
  { -- https://github.com/LazyVim/LazyVim
    "LazyVim/LazyVim",
    opts = {
      colorscheme = "gruvbox",
    },
  },


  --
  -- Disable the other themes. No need to install them
  --

  -- tokyonight
  { -- https://github.com/folke/tokyonight.nvim
    "folke/tokyonight.nvim",
      enabled = false,
  },

  -- catppuccin
  { -- https://github.com/catppuccin/nvim
    "catppuccin/nvim",
    enabled = false,
  },
}