diff options
author | 2025-03-29 17:23:42 +0300 | |
---|---|---|
committer | 2025-03-29 17:23:42 +0300 | |
commit | e846b8375d7ba4e60aed7a9eb8b592cae28777c5 (patch) | |
tree | dae68bf88b6aef2346bf8f7e49ebd013d044c10d /lua/config/plugins | |
parent | fix: change `which-key.nvim` groups (diff) | |
download | neovim-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
Diffstat (limited to 'lua/config/plugins')
-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 |