提交 d6bf20d8 编写于 作者: P pi1024e

Fixes

上级 1ea5c081
...@@ -99,7 +99,7 @@ class ModesContentComputer implements IHoverComputer<HoverPart[]> { ...@@ -99,7 +99,7 @@ class ModesContentComputer implements IHoverComputer<HoverPart[]> {
} }
computeSync(): HoverPart[] { computeSync(): HoverPart[] {
if (!this._editor.hasModel() || !this._range) { if (!(this._editor.hasModel() && this._range)) {
return []; return [];
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册