lewis6991 / satellite.nvim

Decorate scrollbar for Neovim
MIT License
542 stars 20 forks source link

Gitsigns in scrollbar look weird #70

Closed tednaaa closed 1 month ago

tednaaa commented 1 month ago

Describe the bug

scrollbar looks too large when there are some changes inside the file

image image

my gitsigns configuration

{
        "lewis6991/gitsigns.nvim",
    config = function()
        require("gitsigns").setup({
            signs = {
                add = { text = "┃" },
                change = { text = "┃" },
                delete = { text = "_" },
                topdelete = { text = "‾" },
                changedelete = { text = "~" },
                untracked = { text = "┆" },
            },
            on_attach = function(bufnr)
                local function keymap(mode, lhs, rhs, opts)
                    opts = opts or {}
                    opts.buffer = bufnr
                    vim.keymap.set(mode, lhs, rhs, opts)
                end

                local gitsigns = require("gitsigns")

                keymap("n", "gh", gitsigns.preview_hunk)
                keymap("n", "ghx", gitsigns.reset_hunk)
            end,
        })
    end,
}

satellite config

{
    "lewis6991/satellite.nvim",
    event = "VeryLazy",
    dependencies = { "lewis6991/gitsigns.nvim" },
    config = function()
        require("satellite").setup()
    end,
}
lewis6991 commented 1 month ago

Probably because you are using a GUI or have a transparent background or something. Nothing that can be fixed here.

It is also intended to be 2 characters wide.