Commit 5fec40a
committed
When b:sy is present, only disable Sy if the file disappears
In #344, we disable Sy if any condition in s:skip() is true. This is
too aggressive. If b:sy was already set then we should prefer to leave
it set, except when we can't access the file anymore.
Therefore, stop using s:skip() to handle this condition and simply check
filereadable().
Closes #3471 parent c3d450e commit 5fec40a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments