Skip to content

Commit e925317

Browse files
committed
Pack, v0.0.1
1 parent b3a5292 commit e925317

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Server/Handlers/SignatureHelpHandler.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public SignatureHelpHandler(
3535
string current = _workspace.BufferService.GetWordAtPosition(uri, position);
3636

3737
int newChar = Math.Max(position.Character - current.Length, 0);
38-
Position newPos = new Position(position.Line, newChar);
38+
var newPos = new Position(position.Line, newChar);
3939

4040
// Attempt to get function name.
4141
string word = _workspace.BufferService.GetWordAtPosition(uri, newPos);
@@ -79,7 +79,7 @@ protected override SignatureHelpRegistrationOptions CreateRegistrationOptions(Si
7979
return new SignatureHelpRegistrationOptions()
8080
{
8181
DocumentSelector = _documentSelector,
82-
TriggerCharacters = new[] { "(", ",", "<", "{", "[", "," }
82+
TriggerCharacters = new[] { "(", ",", "<", "{", "[", }
8383
};
8484
}
8585

@@ -111,7 +111,7 @@ private SignatureInformation CreateSignature(string sign, string documentation)
111111

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

Server/shader-ls.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<RepositoryUrl>https://github.com/jcs090218/shader-language-server</RepositoryUrl>
2020
<RepositoryType>git</RepositoryType>
2121
<PackageTags>language-server;shader;unity</PackageTags>
22+
<Version>0.0.1</Version>
2223
</PropertyGroup>
2324

2425
<ItemGroup>

0 commit comments

Comments
 (0)