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 {
|
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
|
let buffer = project
|
||||||
.update(cx, |project, cx| {
|
.update(cx, |project, cx| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue