Skip to content

Commit c2c5c6c

Browse files
committed
fix: exclude path for filename strategy
1 parent 4193c79 commit c2c5c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/csgithub/query.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ M.construct_query_path = function(args)
66
if args.includeExtension and not args.includeFilename then
77
return "*." .. ext
88
else
9-
return vim.fn.expand("%")
9+
return vim.fn.expand("%:t")
1010
end
1111
end
1212

0 commit comments

Comments
 (0)