feat(nvim): new scrollbar added

now im using neovim nightly (10.0) so i can replace the old scrollbar that i had for this one which
is more useful and cool!
This commit is contained in:
Sergio Laín 2023-10-06 12:53:48 +02:00
parent 3f134bb5e7
commit f38ba04d54
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 66 additions and 1 deletions

View file

@ -0,0 +1,65 @@
return {
{
"lewis6991/satellite.nvim",
event = "BufRead",
config = function()
require("satellite").setup({
current_only = false,
winblend = 50,
zindex = 40,
excluded_filetypes = {},
width = 2,
handlers = {
cursor = {
enable = true,
-- Supports any number of symbols
symbols = { "", "", "", "" },
-- symbols = { '⎻', '⎼' }
-- Highlights:
-- - SatelliteCursor (default links to NonText
},
search = {
enable = true,
-- Highlights:
-- - SatelliteSearch (default links to Search)
-- - SatelliteSearchCurrent (default links to SearchCurrent)
},
diagnostic = {
enable = true,
signs = { "-", "=", "" },
min_severity = vim.diagnostic.severity.HINT,
-- Highlights:
-- - SatelliteDiagnosticError (default links to DiagnosticError)
-- - SatelliteDiagnosticWarn (default links to DiagnosticWarn)
-- - SatelliteDiagnosticInfo (default links to DiagnosticInfo)
-- - SatelliteDiagnosticHint (default links to DiagnosticHint)
},
gitsigns = {
enable = true,
signs = { -- can only be a single character (multibyte is okay)
add = "",
change = "",
delete = "-",
},
-- Highlights:
-- SatelliteGitSignsAdd (default links to GitSignsAdd)
-- SatelliteGitSignsChange (default links to GitSignsChange)
-- SatelliteGitSignsDelete (default links to GitSignsDelete)
},
marks = {
enable = true,
show_builtins = false, -- shows the builtin marks like [ ] < >
key = "m",
-- Highlights:
-- SatelliteMark (default links to Normal)
},
quickfix = {
signs = { "-", "=", "" },
-- Highlights:
-- SatelliteQuickfix (default links to WarningMsg)
},
},
})
end,
},
}

View file

@ -6,8 +6,8 @@ return {
opts = {
plugins = {
scrollview = { enabled = false },
satellite = { enabled = false },
gitsigns = { enabled = false },
barbacue = { enabled = false },
},
},
},