diff options
Diffstat (limited to 'lua/plugins/opts/misc.lua')
-rw-r--r-- | lua/plugins/opts/misc.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/plugins/opts/misc.lua b/lua/plugins/opts/misc.lua new file mode 100644 index 0000000..952dc4f --- /dev/null +++ b/lua/plugins/opts/misc.lua @@ -0,0 +1,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 |