Fix #99
This commit is contained in:
parent
a2e1aaf2e5
commit
85a6e48180
|
|
@ -132,7 +132,7 @@ bool shouldSwapWithType(CompletionType completionType, CompletionKind kind,
|
||||||
if (kind == CompletionKind.moduleName || kind == CompletionKind.packageName)
|
if (kind == CompletionKind.moduleName || kind == CompletionKind.packageName)
|
||||||
return false;
|
return false;
|
||||||
// Swap out every part of a chain with its type except the last part
|
// Swap out every part of a chain with its type except the last part
|
||||||
if (current < max && completionType == CompletionType.location)
|
if (current < max)
|
||||||
return true;
|
return true;
|
||||||
// Only swap out types for these kinds
|
// Only swap out types for these kinds
|
||||||
immutable bool isInteresting =
|
immutable bool isInteresting =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue