Skip to content

Commit 54b2e3d

Browse files
miversen33Mike Iversen
andauthored
fix(windows): corrects issue with glob missing lowercase drive letters (#370)
Co-authored-by: Mike Iversen <[email protected]>
1 parent d957fd9 commit 54b2e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/plenary/path.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ end
7878

7979
local is_absolute = function(filename, sep)
8080
if sep == "\\" then
81-
return string.match(filename, "^[A-Z]:\\.*$")
81+
return string.match(filename, "^[%a]:\\.*$")
8282
end
8383
return string.sub(filename, 1, 1) == sep
8484
end

0 commit comments

Comments
 (0)