From c81237d93cc01ae326b84b3ba5659dc99503986b Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Sat, 20 Jul 2024 06:25:04 +0200 Subject: [PATCH] Fix late settings loading --- web/cm_plugins/smart_quotes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/cm_plugins/smart_quotes.ts b/web/cm_plugins/smart_quotes.ts index 88cc584b..ec97fc07 100644 --- a/web/cm_plugins/smart_quotes.ts +++ b/web/cm_plugins/smart_quotes.ts @@ -80,7 +80,7 @@ function keyBindingForQuote( } export function createSmartQuoteKeyBindings(client: Client): KeyBinding[] { - if (client.settings.useSmartQuotes === false) { + if (client.settings?.useSmartQuotes === false) { return []; }