Skip to content

Commit 3d6de79

Browse files
fixed formatting
1 parent f9df503 commit 3d6de79

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/JsonRpc/IJsonRpcHandler.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
/// <summary>
44
/// A simple marker interface to use for storing handlings (which will be cast out later)
55
/// </summary>
6-
public interface IJsonRpcHandler { string Key { get; } }
6+
public interface IJsonRpcHandler
7+
{
8+
string Key { get; }
9+
}
710
}

src/Lsp/Models/DocumentFilter.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,16 @@ public string Pattern
6060
public static explicit operator string(DocumentFilter documentFilter)
6161
{
6262
var items = new List<string>();
63-
if (documentFilter.HasLanguage) {
63+
if (documentFilter.HasLanguage)
64+
{
6465
items.Add(documentFilter.Language);
6566
}
66-
if (documentFilter.HasScheme) {
67+
if (documentFilter.HasScheme)
68+
{
6769
items.Add(documentFilter.Scheme);
6870
}
69-
if (documentFilter.HasPattern) {
71+
if (documentFilter.HasPattern)
72+
{
7073
items.Add(documentFilter.Pattern);
7174
}
7275
return $"[{string.Join(", ", items)}]";

0 commit comments

Comments
 (0)