This commit is contained in:
pi1024e 2019-07-20 18:27:20 -04:00
parent 1ea5c08147
commit d6bf20d8ca

View file

@ -99,7 +99,7 @@ class ModesContentComputer implements IHoverComputer<HoverPart[]> {
}
computeSync(): HoverPart[] {
if (!this._editor.hasModel() || !this._range) {
if (!(this._editor.hasModel() && this._range)) {
return [];
}