dotfiles/.config/nvim/lua/plugins/satellite.lua
Sergio Laín 2cce8ffdc8
🐛 fix(nvim): rewrite of a lot of the config style, options and plugins
new terminal, telescope plugins moved into telescope.lua for eassier management and a lot more
2023-10-16 12:46:37 +02:00

63 lines
2 KiB
Lua

return {
{
"lewis6991/satellite.nvim",
event = "BufRead",
opts = {
current_only = true,
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)
},
},
},
},
}