From e846b8375d7ba4e60aed7a9eb8b592cae28777c5 Mon Sep 17 00:00:00 2001 From: Mora Unie Youer Date: Sat, 29 Mar 2025 17:23:42 +0300 Subject: feat: change `gitsigns.nvim` signs --- lua/config/plugins/git.lua | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'lua/config/plugins') 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 -- cgit v1.2.3-70-g09d2