use std::rc::Rc;
use futures::lock::Mutex;
use crate::server::{
Server,
lsp::{WorkspaceEditResponse, errors::LSPError},
};
#[tracing::instrument(skip_all)]
pub(super) async fn handle_workspace_edit_response(
_server_rc: Rc<Mutex<Server>>,
response: WorkspaceEditResponse,
) -> Result<(), LSPError> {
if let Some(result) = response.result
&& !result.applied
{
tracing::warn!("Work space edit did not get applied");
}
Ok(())
}