diff --git a/.config/nvim/lua/plugins/satellite.lua b/.config/nvim/lua/plugins/satellite.lua new file mode 100644 index 00000000..66721da0 --- /dev/null +++ b/.config/nvim/lua/plugins/satellite.lua @@ -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, + }, +} diff --git a/.config/nvim/lua/plugins/scrollbar.lua b/.config/nvim/lua/plugins/scrollbar.lua.bak similarity index 100% rename from .config/nvim/lua/plugins/scrollbar.lua rename to .config/nvim/lua/plugins/scrollbar.lua.bak diff --git a/.config/nvim/lua/plugins/zen-mode.lua b/.config/nvim/lua/plugins/zen-mode.lua index e42ad1a2..26c4dcc6 100644 --- a/.config/nvim/lua/plugins/zen-mode.lua +++ b/.config/nvim/lua/plugins/zen-mode.lua @@ -6,8 +6,8 @@ return { opts = { plugins = { scrollview = { enabled = false }, + satellite = { enabled = false }, gitsigns = { enabled = false }, - barbacue = { enabled = false }, }, }, },