config: send server-side capabilities to config
This commit is contained in:
parent
c235f026f0
commit
27f30f8d28
5 changed files with 26 additions and 2 deletions
|
|
@ -4,7 +4,9 @@ use {
|
|||
crate::{
|
||||
_private::{
|
||||
bincode_ops,
|
||||
ipc::{ClientMessage, InitMessage, Response, ServerMessage, WorkspaceSource},
|
||||
ipc::{
|
||||
ClientMessage, InitMessage, Response, ServerFeature, ServerMessage, WorkspaceSource,
|
||||
},
|
||||
logging, Config, ConfigEntry, ConfigEntryGen, PollableId, WireMode, VERSION,
|
||||
},
|
||||
exec::Command,
|
||||
|
|
@ -1178,6 +1180,14 @@ impl Client {
|
|||
}
|
||||
}
|
||||
}
|
||||
ServerMessage::Features { features } => {
|
||||
for feat in features {
|
||||
match feat {
|
||||
ServerFeature::NONE => {}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue