feat: add support for nvim-scrollbar (#141)

https://github.com/petertriho/nvim-scrollbar

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
This commit is contained in:
Peter Tri Ho
2022-09-02 16:12:22 +10:00
committed by GitHub
parent 4e352f3f44
commit 0786a2acd8
2 changed files with 22 additions and 0 deletions

View File

@@ -472,6 +472,27 @@ function M.setup(config)
CmpItemKindOperator = { fg = c.green1, bg = c.none },
CmpItemKindSnippet = { fg = c.dark5, bg = c.none },
-- Scrollbar
ScrollbarHandle = { fg = c.none, bg = c.bg_highlight },
ScrollbarSearchHandle = { fg = c.orange, bg = c.bg_highlight },
ScrollbarSearch = { fg = c.orange, bg = c.none },
ScrollbarErrorHandle = { fg = c.error, bg = c.bg_highlight },
ScrollbarError = { fg = c.error, bg = c.none },
ScrollbarWarnHandle = { fg = c.warning, bg = c.bg_highlight },
ScrollbarWarn = { fg = c.warning, bg = c.none },
ScrollbarInfoHandle = { fg = c.info, bg = c.bg_highlight },
ScrollbarInfo = { fg = c.info, bg = c.none },
ScrollbarHintHandle = { fg = c.hint, bg = c.bg_highlight },
ScrollbarHint = { fg = c.hint, bg = c.none },
ScrollbarMiscHandle = { fg = c.purple, bg = c.bg_highlight },
ScrollbarMisc = { fg = c.purple, bg = c.none },
-- Mini
MiniCompletionActiveParameter = { style = "underline" },