mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
Revert unnecessary style changes
This commit is contained in:
parent
09ef3ccf67
commit
7aea95704e
5 changed files with 6 additions and 8 deletions
|
@ -229,12 +229,11 @@ impl Fs for RealFs {
|
|||
} else {
|
||||
symlink_metadata
|
||||
};
|
||||
let file_type_metadata = metadata.file_type();
|
||||
Ok(Some(Metadata {
|
||||
inode: metadata.ino(),
|
||||
mtime: metadata.modified().unwrap(),
|
||||
is_symlink,
|
||||
is_dir: file_type_metadata.is_dir(),
|
||||
is_dir: metadata.file_type().is_dir(),
|
||||
}))
|
||||
}
|
||||
|
||||
|
|
|
@ -317,8 +317,8 @@ pub struct Chunk<'a> {
|
|||
|
||||
pub struct Diff {
|
||||
pub(crate) base_version: clock::Global,
|
||||
pub(crate) line_ending: LineEnding,
|
||||
pub(crate) edits: Vec<(Range<usize>, Arc<str>)>,
|
||||
line_ending: LineEnding,
|
||||
edits: Vec<(Range<usize>, Arc<str>)>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
|
|
|
@ -170,7 +170,7 @@ message Envelope {
|
|||
|
||||
LinkChannel link_channel = 140;
|
||||
UnlinkChannel unlink_channel = 141;
|
||||
MoveChannel move_channel = 142; // Current max: 144
|
||||
MoveChannel move_channel = 142; // current max: 144
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -349,7 +349,7 @@ request_messages!(
|
|||
(UpdateProject, Ack),
|
||||
(UpdateWorktree, Ack),
|
||||
(JoinChannelBuffer, JoinChannelBufferResponse),
|
||||
(LeaveChannelBuffer, Ack),
|
||||
(LeaveChannelBuffer, Ack)
|
||||
);
|
||||
|
||||
entity_messages!(
|
||||
|
@ -400,7 +400,7 @@ entity_messages!(
|
|||
UpdateProjectCollaborator,
|
||||
UpdateWorktree,
|
||||
UpdateWorktreeSettings,
|
||||
UpdateDiffBase,
|
||||
UpdateDiffBase
|
||||
);
|
||||
|
||||
entity_messages!(
|
||||
|
|
|
@ -100,7 +100,6 @@ impl LspAdapter for IntelephenseLspAdapter {
|
|||
async fn initialization_options(&self) -> Option<serde_json::Value> {
|
||||
None
|
||||
}
|
||||
|
||||
async fn language_ids(&self) -> HashMap<String, String> {
|
||||
HashMap::from_iter([("PHP".into(), "php".into())])
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue