Skip to content

Commit

Permalink
docs: add documentation for current_line_blame_formatter_opts.relativ…
Browse files Browse the repository at this point in the history
…e_time

Closes #912
  • Loading branch information
lewis6991 committed Apr 4, 2024
1 parent b45ff86 commit 224a319
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ require('gitsigns').setup {
virt_text_priority = 100,
},
current_line_blame_formatter = '<author>, <author_time:%Y-%m-%d> - <summary>',
current_line_blame_formatter_opts = {
relative_time = false,
},
sign_priority = 6,
update_debounce = 100,
status_formatter = nil, -- Use default
Expand Down
3 changes: 3 additions & 0 deletions doc/gitsigns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ of the default settings:
virt_text_priority = 100,
},
current_line_blame_formatter = '<author>, <author_time:%Y-%m-%d> - <summary>',
current_line_blame_formatter_opts = {
relative_time = false,
},
sign_priority = 6,
update_debounce = 100,
status_formatter = nil, -- Use default
Expand Down

0 comments on commit 224a319

Please sign in to comment.