fix(#1555): incorrect exe highlight in Windows filesystem from WSL (#1557)

This commit is contained in:
Piotr Doan
2022-08-29 02:53:23 +02:00
committed by GitHub
parent ce5d0a6b7d
commit 4a725c0ca5
3 changed files with 58 additions and 5 deletions

View File

@@ -86,7 +86,7 @@ function M.reload(node, status)
else
local n = nodes_by_path[abs]
if n then
n.executable = builders.is_executable(abs, n.extension or "")
n.executable = builders.is_executable(n.parent, abs, n.extension or "")
n.fs_stat = fs_stat_cached(abs)
end
end