diff options
feat: change `gitsigns.nvim` signs
-rw-r--r-- | lua/config/plugins/git.lua | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/lua/config/plugins/git.lua b/lua/config/plugins/git.lua index 73807a9..958e35c 100644 --- a/lua/config/plugins/git.lua +++ b/lua/config/plugins/git.lua @@ -7,10 +7,26 @@ return { local gs = require("gitsigns") gs.setup({ + signs = { + add = { text = "▎" }, + change = { text = "▎" }, + delete = { text = "" }, + topdelete = { text = "" }, + changedelete = { text = "▎" }, + untracked = { text = "▎" }, + }, + signs_staged = { + add = { text = "▎" }, + change = { text = "▎" }, + delete = { text = "" }, + topdelete = { text = "" }, + changedelete = { text = "▎" }, + }, + sign_priority = 999, + numhl = true, on_attach = function(bufnr) - local function map(mode, l, r, desc, opts) opts = opts or {} opts.desc = desc |