diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-05-27 22:56:26 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-05-27 22:56:26 +0200 |
commit | ea0ec1fd0eb9d7261db680540b7999212590b4e3 (patch) | |
tree | e89500b433259e934edd25031b2bee716cec951b | |
parent | 882d60cd2c1c174333f89cc6fd0e759f03d1b09f (diff) |
Edit Git config for Nvim
-rw-r--r-- | .config/nvim/lua/git.lua | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/.config/nvim/lua/git.lua b/.config/nvim/lua/git.lua index 2f9cbc4..cde8f78 100644 --- a/.config/nvim/lua/git.lua +++ b/.config/nvim/lua/git.lua @@ -1,9 +1,14 @@ require('gitsigns').setup { signs = { - add = {hl = 'GitSignsAdd' , text = '│', numhl='GitSignsAddNr' , linehl='GitSignsAddLn'}, - change = {hl = 'GitSignsChange', text = '│', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'}, - delete = {hl = 'GitSignsDelete', text = '_', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'}, - topdelete = {hl = 'GitSignsDelete', text = '‾', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'}, + -- add = {hl = 'GitSignsAdd' , text = '│', numhl='GitSignsAddNr' , linehl='GitSignsAddLn'}, + -- change = {hl = 'GitSignsChange', text = '│', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'}, + -- delete = {hl = 'GitSignsDelete', text = '_', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'}, + -- topdelete = {hl = 'GitSignsDelete', text = '‾', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'}, + -- changedelete = {hl = 'GitSignsChange', text = '~', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'}, + add = {hl = 'GitSignsAdd' , text = '+', numhl='GitSignsAddNr' , linehl='GitSignsAddLn'}, + change = {hl = 'GitSignsChange', text = '~', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'}, + delete = {hl = 'GitSignsDelete', text = '-', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'}, + topdelete = {hl = 'GitSignsDelete', text = '-', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'}, changedelete = {hl = 'GitSignsChange', text = '~', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'}, }, keymaps = { @@ -21,7 +26,7 @@ require('gitsigns').setup { ['n hB'] = '<cmd>lua require"gitsigns".blame_line(true)<CR>', }, signcolumn = true, -- Toggle with `:Gitsigns toggle_signs` - numhl = true, -- Toggle with `:Gitsigns toggle_numhl` + --numhl = true, -- Toggle with `:Gitsigns toggle_numhl` watch_gitdir = { interval = 1000, follow_files = true |