Files
lua-nvim/lua/cargdev/plugins/satellite.lua

66 lines
1.6 KiB
Lua

-- ============================================================================
-- SATELLITE.NVIM: Decorated scrollbar with diagnostic indicators
-- ============================================================================
-- Displays a scrollbar on the right side showing buffer position and markers.
-- Shows diagnostics, git hunks, search results, and marks in the scrollbar.
-- Excluded from special buffers like NvimTree, help, terminal, and lazy.
-- ============================================================================
return {
"lewis6991/satellite.nvim",
event = { "BufReadPost", "BufNewFile" },
opts = {
current_only = false,
winblend = 50,
zindex = 40,
excluded_filetypes = {
"NvimTree",
"neo-tree",
"lazy",
"mason",
"help",
"terminal",
"toggleterm",
"TelescopePrompt",
"alpha",
"dashboard",
"Outline",
"lspsaga",
"spectre_panel",
},
width = 2,
handlers = {
cursor = {
enable = true,
symbols = { "", "", "", "" },
},
search = {
enable = true,
symbols = { "" },
},
diagnostic = {
enable = true,
signs = { "-", "=", "" },
min_severity = vim.diagnostic.severity.HINT,
},
gitsigns = {
enable = true,
signs = {
add = "",
change = "",
delete = "",
},
},
marks = {
enable = true,
show_builtins = false,
key = "m",
},
quickfix = {
enable = true,
signs = { "-", "=", "" },
},
},
},
}