✨ 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:
parent
3f134bb5e7
commit
f38ba04d54
3 changed files with 66 additions and 1 deletions
65
.config/nvim/lua/plugins/satellite.lua
Normal file
65
.config/nvim/lua/plugins/satellite.lua
Normal 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,
|
||||||
|
},
|
||||||
|
}
|
|
@ -6,8 +6,8 @@ return {
|
||||||
opts = {
|
opts = {
|
||||||
plugins = {
|
plugins = {
|
||||||
scrollview = { enabled = false },
|
scrollview = { enabled = false },
|
||||||
|
satellite = { enabled = false },
|
||||||
gitsigns = { enabled = false },
|
gitsigns = { enabled = false },
|
||||||
barbacue = { enabled = false },
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue