Skip to content

Commit f1620f9

Browse files
committed
adding scrollbar satellite
1 parent 63c4894 commit f1620f9

1 file changed

Lines changed: 64 additions & 0 deletions

File tree

  • env/.config/nvim/lua/theprimeagen/lazy

env/.config/nvim/lua/theprimeagen/lazy/extra.lua

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,71 @@ return {
44
"windwp/nvim-ts-autotag",
55
opts = {},
66
},
7+
{
8+
9+
10+
"lewis6991/satellite.nvim",
11+
config = function()
12+
require('satellite').setup {
13+
current_only = false,
14+
winblend = 50,
15+
zindex = 40,
16+
excluded_filetypes = {},
17+
width = 2,
18+
handlers = {
19+
cursor = {
20+
enable = true,
21+
-- Supports any number of symbols
22+
symbols = { '', '', '', '' }
23+
-- symbols = { '⎻', '⎼' }
24+
-- Highlights:
25+
-- - SatelliteCursor (default links to NonText
26+
},
27+
search = {
28+
enable = true,
29+
-- Highlights:
30+
-- - SatelliteSearch (default links to Search)
31+
-- - SatelliteSearchCurrent (default links to SearchCurrent)
32+
},
33+
diagnostic = {
34+
enable = true,
35+
signs = {'-', '=', ''},
36+
min_severity = vim.diagnostic.severity.HINT,
37+
-- Highlights:
38+
-- - SatelliteDiagnosticError (default links to DiagnosticError)
39+
-- - SatelliteDiagnosticWarn (default links to DiagnosticWarn)
40+
-- - SatelliteDiagnosticInfo (default links to DiagnosticInfo)
41+
-- - SatelliteDiagnosticHint (default links to DiagnosticHint)
42+
},
43+
gitsigns = {
44+
enable = true,
45+
signs = { -- can only be a single character (multibyte is okay)
46+
add = "",
47+
change = "",
48+
delete = "-",
49+
},
50+
-- Highlights:
51+
-- SatelliteGitSignsAdd (default links to GitSignsAdd)
52+
-- SatelliteGitSignsChange (default links to GitSignsChange)
53+
-- SatelliteGitSignsDelete (default links to GitSignsDelete)
54+
},
55+
marks = {
56+
enable = true,
57+
show_builtins = false, -- shows the builtin marks like [ ] < >
58+
key = 'm'
59+
-- Highlights:
60+
-- SatelliteMark (default links to Normal)
61+
},
62+
quickfix = {
63+
signs = { '-', '=', '' },
64+
-- Highlights:
65+
-- SatelliteQuickfix (default links to WarningMsg)
66+
}
67+
},
68+
}
69+
end
770

71+
},
872
-- delete buffer
973
{
1074
"famiu/bufdelete.nvim",

0 commit comments

Comments
 (0)