summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Mora Unie Youer <[email protected]>2025-03-29 17:23:42 +0300
committerLibravatar Mora Unie Youer <[email protected]>2025-03-29 17:23:42 +0300
commite846b8375d7ba4e60aed7a9eb8b592cae28777c5 (patch)
treedae68bf88b6aef2346bf8f7e49ebd013d044c10d
parentfix: change `which-key.nvim` groups (diff)
downloadneovim-configuration-e846b8375d7ba4e60aed7a9eb8b592cae28777c5.tar.gz
neovim-configuration-e846b8375d7ba4e60aed7a9eb8b592cae28777c5.tar.bz2
neovim-configuration-e846b8375d7ba4e60aed7a9eb8b592cae28777c5.tar.lz
neovim-configuration-e846b8375d7ba4e60aed7a9eb8b592cae28777c5.tar.xz
neovim-configuration-e846b8375d7ba4e60aed7a9eb8b592cae28777c5.tar.zst
neovim-configuration-e846b8375d7ba4e60aed7a9eb8b592cae28777c5.zip
feat: change `gitsigns.nvim` signs
-rw-r--r--lua/config/plugins/git.lua18
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