aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/opts/misc.lua
blob: 952dc4f9a50749307146078da6c458ec87e94b12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local M = {}
local maps = require "plugins.maps"

M.gitsigns = {
  signs = {
    add = { text = "+" },
    change = { text = "~" },
    delete = { text = "-" },
    topdelete = { text = "‾" },
    changedelete = { text = "~" },
    untracked = { text = "│" },
  },

  on_attach = function(bufnr)
    maps.load("gitsigns", { buffer = bufnr })
  end,
}

return M