diff --git a/web/src/realm_playground.ts b/web/src/realm_playground.ts index b50a8b1aa0..0ea1f0aa66 100644 --- a/web/src/realm_playground.ts +++ b/web/src/realm_playground.ts @@ -6,6 +6,7 @@ import * as typeahead from "../shared/src/typeahead.ts"; import {$t} from "./i18n.ts"; import * as pygments_data from "./pygments_data.ts"; import type {realm_playground_schema} from "./state_data.ts"; +import * as util from "./util.ts"; export type RealmPlayground = z.output; @@ -87,7 +88,8 @@ export function get_pygments_typeahead_list_for_settings(query: string): Map { // When no Code Playground is configured, the list of candidates should @@ -45,6 +46,8 @@ run_test("get_pygments_typeahead_list_for_composebox", () => { }); run_test("get_pygments_typeahead_list_for_settings", () => { + initialize_user_settings({user_settings: {}}); + const custom_pygment_language = "custom_lang"; const playground_data = [ {