mirror of https://github.com/tiyn/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.4 KiB
60 lines
1.4 KiB
return {
|
|
-- scrollbar with git and diagnostics support for easier navigation
|
|
{
|
|
'petertriho/nvim-scrollbar',
|
|
dependencies = {
|
|
'kevinhwang91/nvim-hlslens',
|
|
'lewis6991/gitsigns.nvim'
|
|
},
|
|
config = function()
|
|
require("scrollbar").setup({
|
|
marks = {
|
|
Cursor = {
|
|
highlight = "Normal"
|
|
},
|
|
Search = {
|
|
highlight = "Special"
|
|
},
|
|
Error = {
|
|
highlight = "DiagnosticSignError"
|
|
},
|
|
Warn = {
|
|
highlight = "DiagnosticSignWarn"
|
|
},
|
|
Info = {
|
|
highlight = "DiagnosticSignInfo"
|
|
},
|
|
Hint = {
|
|
highlight = "DiagnosticSignHint"
|
|
},
|
|
Misc = {
|
|
highlight = "Special"
|
|
},
|
|
GitAdd = {
|
|
highlight = "GitGutterAdd"
|
|
},
|
|
GitChange = {
|
|
highlight = "GitGutterChange"
|
|
},
|
|
GitDelete = {
|
|
highlight = "GitGutterDelete"
|
|
}
|
|
},
|
|
excluded_filetypes = {
|
|
"cmp_docs",
|
|
"cmp_menu",
|
|
"noice",
|
|
"prompt",
|
|
"TelescopePrompt",
|
|
"NvimTree",
|
|
"Navbuddy",
|
|
"FTerm",
|
|
"",
|
|
},
|
|
})
|
|
require("scrollbar.handlers.search").setup()
|
|
require("scrollbar.handlers.gitsigns").setup()
|
|
end
|
|
}
|
|
}
|