We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13b1b53 commit 89f5ce4Copy full SHA for 89f5ce4
lua/ts-vimdoc/parser.lua
@@ -43,7 +43,7 @@ function Parser:header_line()
43
"log",
44
"-1",
45
[[--pretty=format:"%cI"]],
46
- self.metadata.input_file,
+ vim.fn.fnamemodify(self.metadata.input_file, ":t"),
47
})
48
if vim.v.shell_error == 0 then
49
local year, month, day = result:match("(%d+)%-(%d+)%-(%d+)")
0 commit comments