Skip to content

Commit 89f5ce4

Browse files
committed
fix: correct timestamps for subtree files (legendary.nvim#304)
1 parent 13b1b53 commit 89f5ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/ts-vimdoc/parser.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function Parser:header_line()
4343
"log",
4444
"-1",
4545
[[--pretty=format:"%cI"]],
46-
self.metadata.input_file,
46+
vim.fn.fnamemodify(self.metadata.input_file, ":t"),
4747
})
4848
if vim.v.shell_error == 0 then
4949
local year, month, day = result:match("(%d+)%-(%d+)%-(%d+)")

0 commit comments

Comments
 (0)