Skip to content

Commit

Permalink
Revert "nixd/Server/Hover: truncate the string to improve IPC perform…
Browse files Browse the repository at this point in the history
…ance (nix-community#236)"

This reverts commit f97691f, reversing
changes made to df0a6da.

It is failing tests.
  • Loading branch information
inclyc authored and a-kenji committed Nov 3, 2023
1 parent 7f0510a commit 128a9e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nixd/lib/Server/EvalWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ void EvalWorker::onHover(const lspserver::TextDocumentPositionParams &Params,
lspserver::vlog("no associated value on node {0}!", NodeOut.str());
HoverText = llvm::formatv("`{0}`", ExprName);
}
// Truncate the string to imporve IPC performance.
HoverText.resize(300);
});
}

Expand Down

0 comments on commit 128a9e3

Please sign in to comment.