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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View File

@ -43,6 +43,7 @@ A dark and light Neovim theme written in Lua ported from the Visual Studio Code
- [vim-sneak](https://github.com/justinmk/vim-sneak) - [vim-sneak](https://github.com/justinmk/vim-sneak)
- [Fern](https://github.com/lambdalisue/fern.vim) - [Fern](https://github.com/lambdalisue/fern.vim)
- [Barbar](https://github.com/romgrk/barbar.nvim) - [Barbar](https://github.com/romgrk/barbar.nvim)
- [Scrollbar](https://github.com/petertriho/nvim-scrollbar)
- [Mini](https://github.com/echasnovski/mini.nvim) - [Mini](https://github.com/echasnovski/mini.nvim)
## ⚡️ Requirements ## ⚡️ Requirements

View File

@ -472,6 +472,27 @@ function M.setup(config)
CmpItemKindOperator = { fg = c.green1, bg = c.none }, CmpItemKindOperator = { fg = c.green1, bg = c.none },
CmpItemKindSnippet = { fg = c.dark5, 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 -- Mini
MiniCompletionActiveParameter = { style = "underline" }, MiniCompletionActiveParameter = { style = "underline" },