summaryrefslogtreecommitdiffstats
path: root/lua/core/overrides/scrollbar.lua
blob: dbce04f13380ace078f3675c19f75518571994c8 (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
require("scrollbar").setup({
  show = true,
  show_in_active_only = true,
  handle = {
    color = colors.bg_highlight,
  },
  marks = {
    Search = { color = colors.pink },
    Error = { color = colors.red },
    Warn = { color = colors.orange },
    Info = { color = colors.blue },
    Hint = { color = colors.grey2 },
    Misc = { color = colors.purple },
  },
  excluded_buftypes = {
    "terminal",
  },
  excluded_filetypes = {
    "prompt",
    "TelescopePrompt",
    "noice",
    "alpha",
    "sfm",
  },
  handlers = {
    diagnostic = true,
    gitsigns = true,
  }
})