1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-17 14:14:47 +01:00

nvim: complete refactoring

This commit is contained in:
2026-03-14 09:42:33 +01:00
parent 63507160ce
commit f909309e15
56 changed files with 1135 additions and 911 deletions

View File

@@ -1,59 +1,57 @@
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"
}
"petertriho/nvim-scrollbar",
dependencies = {
"kevinhwang91/nvim-hlslens",
"lewis6991/gitsigns.nvim",
},
config = function()
require("scrollbar").setup({
marks = {
Cursor = {
highlight = "Normal",
},
excluded_filetypes = {
"cmp_docs",
"cmp_menu",
"noice",
"prompt",
"TelescopePrompt",
"NvimTree",
"Navbuddy",
"FTerm",
"",
Search = {
highlight = "Special",
},
})
require("scrollbar.handlers.search").setup()
require("scrollbar.handlers.gitsigns").setup()
end
}
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,
}