Skip to content

Commit 5502ec5

Browse files
committed
fix(nvim): blamer.nvim Fix fatal file length messages.
* back to blamer.nvim because some highlight issues * wait APZelos/blamer.nvim#56
1 parent 64f5937 commit 5502ec5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

private_dot_config/nvim/lua/plugins-d/_git.lua.tmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ local function config()
2121
map('n', '<leader>g<space>', '<cmd>GitGutterStageHunk<cr>', opts)
2222
map('n', '<leader>gu', '<cmd>GitGutterUndoHunk<cr>', opts)
2323

24-
vim.g.gitblame_message_template = ' <<<  <author> | <date> | <summary> || <sha>'
25-
vim.g.gitblame_date_format = '%r'
24+
vim.g.blamer_enabled = 1
25+
vim.g.blamer_delay = 500
2626
end
2727

2828
return {
@@ -38,8 +38,8 @@ return {
3838

3939
-- https://github.com/airblade/vim-gitgutter
4040
'airblade/vim-gitgutter', -- sign column diff mark
41-
-- https://github.com/f-person/git-blame.nvim
42-
'f-person/git-blame.nvim', -- blame virtual text like gitlens of VSCode
41+
-- https://github.com/APZelos/blamer.nvim
42+
'black-desk/blamer.nvim', -- blame virtual text like gitlens of VSCode
4343
},
4444
config = config,
4545
}

0 commit comments

Comments
 (0)