mirror of
https://github.com/macocianradu/setup.git
synced 2026-03-18 21:00:04 +00:00
added scrollbar and gitsigns
This commit is contained in:
20
.config/nvim/after/plugin/nvim-scrollbar.lua
Normal file
20
.config/nvim/after/plugin/nvim-scrollbar.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
require("scrollbar").setup({
|
||||
-- Shows marks for gitsigns (add, change, delete)
|
||||
handlers = {
|
||||
gitsigns = true,
|
||||
},
|
||||
-- You can customize the marks used
|
||||
marks = {
|
||||
GitAdd = { color = "#39993A" },
|
||||
GitChange = { color = "#61AFEF" },
|
||||
GitDelete = { color = "#E06C75" },
|
||||
DiagnosticError = { color = "#E06C75" },
|
||||
DiagnosticWarn = { color = "#E5C07B" },
|
||||
DiagnosticInfo = { color = "#61AFEF" },
|
||||
DiagnosticHint = { color = "#C678DD" },
|
||||
},
|
||||
handle = { color = "#a7c979", },
|
||||
})
|
||||
|
||||
vim.api.nvim_set_hl(0, "Scrollbar", { bg = "#2d353b" })
|
||||
vim.api.nvim_set_hl(0, "ScrollbarHandle", { bg = "#7fbbb3" })
|
||||
Reference in New Issue
Block a user