aboutsummaryrefslogtreecommitdiff
path: root/plugin-settings/indent-blankline.lua
blob: a0f10960356af3b013e7068b7c72bce0f5e6d39d (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
vim.api.nvim_set_hl(0, "IblScope",       { ctermfg = "Gray"     })
vim.api.nvim_set_hl(0, "IblWhitespace",  { ctermfg = "DarkGray" })
vim.api.nvim_set_hl(0, "RainbowRed",     { ctermfg = "Red"      })
vim.api.nvim_set_hl(0, "RainbowYellow",  { ctermfg = "Yellow"   })
vim.api.nvim_set_hl(0, "RainbowBlue",    { ctermfg = "Blue"     })
vim.api.nvim_set_hl(0, "RainbowGreen",   { ctermfg = "Green"    })
vim.api.nvim_set_hl(0, "RainbowMagenta", { ctermfg = "Magenta"  })
vim.api.nvim_set_hl(0, "RainbowCyan",    { ctermfg = "Cyan"     })

local highlight = {
  "RainbowRed",
  "RainbowYellow",
  "RainbowBlue",
  "RainbowGreen",
  "RainbowMagenta",
  "RainbowCyan",
}

require("ibl").setup {
  indent = {
    char = "›",
    highlight = highlight,
  },
}

vim.opt.list = true
vim.opt.listchars = {
  tab = "» ⇥",
  lead = "·",
  trail = "␣",
  nbsp = "⍽",
  extends = "❯",
  precedes = "❮",
  eol = "↴",
}