mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 06:05:19 +00:00
Fix rustfmt in feedback_modal.rs
This commit is contained in:
parent
7f4d03fab2
commit
906505f4dc
1 changed files with 4 additions and 4 deletions
|
@ -132,12 +132,12 @@ impl FeedbackModal {
|
||||||
editor
|
editor
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Moved here because providing it inline breaks rustfmt
|
||||||
|
let placeholder_text = "You can use markdown to organize your feedback wiht add code and links, or organize feedback.";
|
||||||
|
|
||||||
let feedback_editor = cx.build_view(|cx| {
|
let feedback_editor = cx.build_view(|cx| {
|
||||||
let mut editor = Editor::for_buffer(buffer, Some(project.clone()), cx);
|
let mut editor = Editor::for_buffer(buffer, Some(project.clone()), cx);
|
||||||
editor.set_placeholder_text(
|
editor.set_placeholder_text(placeholder_text, cx);
|
||||||
"You can use markdown to organize your feedback wiht add code and links, or organize feedback.",
|
|
||||||
cx,
|
|
||||||
);
|
|
||||||
// editor.set_show_gutter(false, cx);
|
// editor.set_show_gutter(false, cx);
|
||||||
editor.set_vertical_scroll_margin(5, cx);
|
editor.set_vertical_scroll_margin(5, cx);
|
||||||
editor
|
editor
|
||||||
|
|
Loading…
Reference in a new issue