Add ellipsis to the error lens if it does not fit in the line, also display code lens in the correct visible line index when the line is wrapped.

This commit is contained in:
Martín Lucas Golini
2025-08-15 23:57:05 -03:00
parent 5b1ea86312
commit 6d8d991abc
4 changed files with 57 additions and 21 deletions

View File

@@ -1478,7 +1478,7 @@ LSPClientServer::LSPRequestHandle LSPClientServer::write( json&& msg, const Json
if ( mSocket ) {
size_t sent = 0;
mSocket->send( sjson.c_str(), sjson.size(), sent );
} else {
} else if ( !mProcess.isShuttingDown() && mProcess.isAlive() ) {
mProcess.write( sjson );
}
} else {