Skip to content

Commit 3e0e506

Browse files
authored
Merge pull request #40 from yeweiran/master
Fix SignatureHelp block other vscode extension issue
2 parents d386cba + b5c4697 commit 3e0e506

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)