4646--- | 'changedelete'
4747--- | 'untracked'
4848
49- --- @class (exact ) Gitsigns.CurrentLineBlameFmtOpts
50- --- @field relative_time boolean
51-
52- --- @alias Gitsigns.CurrentLineBlameFmtFun fun ( user : string , info : table<string,any> , opts : Gitsigns.CurrentLineBlameFmtOpts ): { [1] : string,[2] : string } []
49+ --- @alias Gitsigns.CurrentLineBlameFmtFun fun ( user : string , info : table<string,any> ): { [1] : string,[2] : string } []
5350
5451--- @class (exact ) Gitsigns.CurrentLineBlameOpts : Gitsigns.BlameOpts
5552--- @field virt_text ? boolean
8582--- @field update_debounce integer
8683--- @field status_formatter fun ( _ : table<string,any> ): string
8784--- @field current_line_blame boolean
88- --- @field current_line_blame_formatter_opts { relative_time : boolean }
8985--- @field current_line_blame_formatter string | Gitsigns.CurrentLineBlameFmtFun
9086--- @field current_line_blame_formatter_nc string | Gitsigns.CurrentLineBlameFmtFun
9187--- @field current_line_blame_opts Gitsigns.CurrentLineBlameOpts
@@ -108,7 +104,6 @@ local M = {
108104 DiffOpts = {},
109105 SignConfig = {},
110106 watch_gitdir = {},
111- current_line_blame_formatter_opts = {},
112107 current_line_blame_opts = {},
113108 Worktree = {},
114109 },
@@ -688,24 +683,9 @@ M.schema = {
688683 ]] ,
689684 },
690685
691- current_line_blame_formatter_opts = {
692- type = ' table' ,
693- deep_extend = true ,
694- deprecated = true ,
695- default = {
696- relative_time = false ,
697- },
698- description = [[
699- Options for the current line blame annotation formatter.
700-
701- Fields: ~
702- • relative_time: boolean
703- ]] ,
704- },
705-
706686 current_line_blame_formatter = {
707687 type = { ' string' , ' function' },
708- default = ' <author>, <author_time> - <summary> ' ,
688+ default = ' <author>, <author_time:%R > - <summary> ' ,
709689 description = [[
710690 String or function used to format the virtual text of
711691 |gitsigns-config-current_line_blame|.
@@ -774,9 +754,6 @@ M.schema = {
774754 Note that the keys map onto the output of:
775755 `git blame --line-porcelain`
776756
777- {opts} Passed directly from
778- |gitsigns-config-current_line_blame_formatter_opts|.
779-
780757 Return: ~
781758 The result of this function is passed directly to the `opts.virt_text`
782759 field of |nvim_buf_set_extmark| and thus must be a list of
0 commit comments