
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!
65 lines
2.8 KiB
Lua
65 lines
2.8 KiB
Lua
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,
|
|
},
|
|
}
|