Skip to content

Commit b3a5292

Browse files
committed
Solve completion issue
1 parent d4f9937 commit b3a5292

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Server/Buffer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ public string GetWordAtPosition(Position position)
3434

3535
string[] words = GetWords(lineStr);
3636

37+
if (words.Length == 0)
38+
return null;
39+
3740
int currentColumn = 0;
3841

3942
string on = words[0];

Server/Handlers/SignatureHelpHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private SignatureInformation CreateSignature(string sign, string documentation)
111111

112112
var newPararm = new ParameterInformation()
113113
{
114-
Documentation = "",
114+
Documentation = "some doc",
115115
Label = param
116116
};
117117

0 commit comments

Comments
 (0)