mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Fix feedback editor compile error due to LanguageRegistry API change
This commit is contained in:
parent
dff08d3cfe
commit
51984f0d39
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ impl FeedbackEditor {
|
|||
}
|
||||
|
||||
fn new(project: ModelHandle<Project>, cx: &mut ViewContext<Self>) -> Self {
|
||||
let markdown_language = project.read(cx).languages().get_language("Markdown");
|
||||
let markdown_language = project.read(cx).languages().language_for_name("Markdown");
|
||||
|
||||
let buffer = project
|
||||
.update(cx, |project, cx| {
|
||||
|
|
Loading…
Reference in a new issue