Ensure shared ssh project propagates buffer changes to all participants (#19907)

Fixed the bug when shared ssh project did not account for client
changing things in their buffers.
Also ensures Prettier formatting workflow works for both ssh project
owner and ssh project clients.

Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad@zed.dev>
This commit is contained in:
Kirill Bulatov
2024-10-29 17:24:10 +02:00
committed by GitHub
co-authored by Conrad Irwin
parent 1356665ed3
commit 5893e85708
5 changed files with 221 additions and 11 deletions
+3 -3
View File
@@ -14,14 +14,14 @@ use std::{
};
use util::paths::PathMatcher;
#[derive(Clone)]
#[derive(Debug, Clone)]
pub enum Prettier {
Real(RealPrettier),
#[cfg(any(test, feature = "test-support"))]
Test(TestPrettier),
}
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct RealPrettier {
default: bool,
prettier_dir: PathBuf,
@@ -29,7 +29,7 @@ pub struct RealPrettier {
}
#[cfg(any(test, feature = "test-support"))]
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct TestPrettier {
prettier_dir: PathBuf,
default: bool,