summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2023-01-12 12:34:36 +0100
committerSanto Cariotti <santo@dcariotti.me>2023-01-12 12:34:36 +0100
commit0c703f1caa0131b7cd4c48ddcddeeaaeefce1874 (patch)
treed9ee4164b26dbe91b8aabd911788789728749b34 /.config/nvim
parent90a5602737c478ef051497e8e7d3d8a1aafd4556 (diff)
nvim: Add untracked line for gitsigns
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lua/git.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/lua/git.lua b/.config/nvim/lua/git.lua
index 01169ad..987a70e 100644
--- a/.config/nvim/lua/git.lua
+++ b/.config/nvim/lua/git.lua
@@ -10,6 +10,7 @@ require('gitsigns').setup {
delete = {hl = 'GitSignsDelete', text = '-', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'},
topdelete = {hl = 'GitSignsDelete', text = '-', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'},
changedelete = {hl = 'GitSignsChange', text = '~', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'},
+ untracked = {hl = 'GitSignsUntracked' , text = '+', numhl='GitSignsAddNr' , linehl='GitSignsAddLn'},
},
keymaps = {
-- Default keymap options