diff --git a/Userland/DevTools/GMLPlayground/MainWidget.cpp b/Userland/DevTools/GMLPlayground/MainWidget.cpp index c9fc0c2df4..ccd6411569 100644 --- a/Userland/DevTools/GMLPlayground/MainWidget.cpp +++ b/Userland/DevTools/GMLPlayground/MainWidget.cpp @@ -77,8 +77,8 @@ ErrorOr> MainWidget::try_create(GUI::Icon const& icon) main_widget->m_preview = main_widget->m_preview_frame_widget; - main_widget->m_editor->set_syntax_highlighter(make()); - main_widget->m_editor->set_autocomplete_provider(make()); + main_widget->m_editor->set_syntax_highlighter(TRY(try_make())); + main_widget->m_editor->set_autocomplete_provider(TRY(try_make())); main_widget->m_editor->set_should_autocomplete_automatically(true); main_widget->m_editor->set_automatic_indentation_enabled(true); main_widget->m_editor->set_ruler_visible(true);