Skip to content

Commit

Permalink
remove extra line onOpen
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-hert authored and georghinkel committed Dec 20, 2024
1 parent 6a92e65 commit 8a68f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AnyText/AnyText.Lsp/LspServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void DidOpen(JToken arg)
if (_languages.TryGetValue(openParams.TextDocument.LanguageId, out var language))
{
var parser = language.CreateParser();
parser.Initialize(File.ReadAllLines(uri.AbsolutePath).Concat(new[] { string.Empty }).ToArray());
parser.Initialize(File.ReadAllLines(uri.AbsolutePath));
_documents.Add(openParams.TextDocument.Uri, parser);

RegisterCapabilitiesOnOpen(openParams.TextDocument.LanguageId, parser);
Expand Down

0 comments on commit 8a68f26

Please sign in to comment.