summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/highlight-colors.lua
blob: a0c61b7e8d9a53b12f9e3eca4925b374f5590306 (plain)
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
return {
  "brenoprata10/nvim-highlight-colors",
  cmd = "HighlightColors",
  lazy = true,
  config = function()
    vim.opt.termguicolors = true
    require("nvim-highlight-colors").setup {
      render = "virtual",
      virtual_symbol = "■",
      virtual_symbol_prefix = " ",
      virtual_symbol_suffix = "",
      virtual_symbol_position = "eow",
      enable_hex = true,
      enable_short_hex = true,
      enable_rgb = true,
      enable_hsl = true,
      enable_var_usage = true,
      enable_named_colors = true,
      enable_tailwind = false,
      custom_colors = {
        { label = "%-%-theme%-primary%-color",   color = "#0f1219" },
        { label = "%-%-theme%-secondary%-color", color = "#5a5d64" },
      },

      exclude_filetypes = {},
      exclude_buftypes = {},
    }
  end,
}