Skip to content

Commit b5c4697

Browse files
yeweiranBLKTower
authored andcommitted
Fix SignatureHelp block other vscode extension issue
1 parent d386cba commit b5c4697

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

EmmyLua-LS/src/main/kotlin/com/tang/vscode/LuaTextDocumentService.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,9 @@ class LuaTextDocumentService(private val workspace: LuaWorkspaceService) : TextD
564564
}
565565
}
566566
}
567-
signatureHelp = SignatureHelp(list, activeSig, activeParameter)
567+
if (list.size > 0) {
568+
signatureHelp = SignatureHelp(list, activeSig, activeParameter)
569+
}
568570
}
569571
signatureHelp
570572
}

0 commit comments

Comments
 (0)