Skip to content

Commit d0cd9bf

Browse files
committed
fix: Make sure word has no newline
1 parent 5e79358 commit d0cd9bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/Buffer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public string GetWordAtPosition(Position position)
6666
on = word;
6767
}
6868

69-
return on;
69+
return on.Trim();
7070
}
7171

7272
private void SetWordsInDocuments(string text)

0 commit comments

Comments
 (0)