feat(nvim): added scrollbar extra

This commit is contained in:
Sergio Laín 2023-10-20 12:05:52 +02:00
parent 774f2b01e8
commit b7b3c9d77f
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
4 changed files with 11 additions and 84 deletions

View file

@ -28,10 +28,11 @@
"plugins.extras.git",
"plugins.extras.github",
"plugins.extras.rest-client",
"plugins.extras.scrollbar",
"plugins.extras.test-extended"
],
"news": {
"NEWS.md": "2123"
},
"version": 2
}
}

View file

@ -0,0 +1,9 @@
return {
{
"lewis6991/satellite.nvim",
opts = {
excluded_filetypes = { "neo-tree", "alpha", "symbols-outline" },
},
event = "BufRead",
},
}

View file

@ -1,64 +0,0 @@
return {
{
"lewis6991/satellite.nvim",
event = "BufRead",
enabled = false,
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)
},
},
},
},
}

View file

@ -1,19 +0,0 @@
return {
{
"dstein64/nvim-scrollview",
event = "BufReadPost",
enabled = false,
keys = { { "<leader>uS", "<cmd>ScrollViewToggle<CR>", desc = "Toggle Scrollview" } },
config = function()
require("scrollview").setup({
excluded_filetypes = { "neo-tree", "alpha", "symbols-outline" },
signs_column = 0,
winblend = 25,
diagnostics_error_symbol = "",
diagnostics_warn_symbol = "",
diagnostics_info_symbol = "",
diagnostics_hint_symbol = "",
})
end,
},
}