feat(vim): add configuration for gitsigns.nvim

This commit is contained in:
arielherself 2025-01-06 22:53:00 +08:00
parent 330e7792b9
commit 9a47c44a6d
Signed by: arielherself
SSH Key Fingerprint: SHA256:AK3cyo9tFsp7Mox7K0sYphleC8hReXhnRKxwuDT5LBc
1 changed files with 1 additions and 1 deletions

2
.vimrc
View File

@ -335,7 +335,7 @@ let g:airline_right_sep = ''
let g:airline_right_alt_sep = ''
if has('nvim')
lua require('gitsigns').setup()
lua require('gitsigns').setup { attach_to_untracked = true, current_line_blame = true, current_line_blame_opts = { delay = 0 } }
endif
" fix c++ comment style in Neovim