We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7adfc4 commit 8aad439Copy full SHA for 8aad439
lua/plenary/path.lua
@@ -78,7 +78,7 @@ end
78
79
local is_absolute = function(filename, sep)
80
if sep == "\\" then
81
- return string.match(filename, "^[%a]:\\.*$") ~= nil
+ return string.match(filename, "^[%a]:[\\/].*$") ~= nil
82
end
83
return string.sub(filename, 1, 1) == sep
84
0 commit comments