also check the scanner in autocomplete
This commit is contained in:
parent
ec6f821100
commit
4906307357
|
@ -681,7 +681,7 @@ void setImportCompletions(T)(T tokens, ref AutocompleteResponse response,
|
||||||
|
|
||||||
found = true;
|
found = true;
|
||||||
|
|
||||||
foreach (string name; dirEntries(p, SpanMode.shallow))
|
try foreach (string name; dirEntries(p, SpanMode.shallow))
|
||||||
{
|
{
|
||||||
import std.path: baseName;
|
import std.path: baseName;
|
||||||
if (name.baseName.startsWith(".#"))
|
if (name.baseName.startsWith(".#"))
|
||||||
|
@ -705,6 +705,7 @@ void setImportCompletions(T)(T tokens, ref AutocompleteResponse response,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch(FileException){}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!found)
|
if (!found)
|
||||||
|
|
Loading…
Reference in New Issue