summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/gitsigns.lua
blob: ad6b8d063591ac8223c1f3967f5cf069fde46123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
return {
    "lewis6991/gitsigns.nvim",
    config = function()
        require("gitsigns").setup({
            current_line_blame = true,
            current_line_blame_opts = {
                virt_text = true,
                delay = 1000 / 3,
            },
            signs = {
                add          = { text = '┃' },
                change       = { text = '┃' },
                delete       = { text = '_' },
                topdelete    = { text = '‾' },
                changedelete = { text = '~' },
                untracked    = { text = '┆' },
            },
        })
    end,
}