From 4c05b7da1fef6998c66274672e850924c4244907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Fri, 4 Mar 2022 08:23:26 +0100 Subject: [PATCH] Make trailing `:` into a setting (#6711) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Make trailing `:` into a setting Signed-off-by: Šimon Brandner * Make traling comma opt-out Signed-off-by: Šimon Brandner * Write `insertTrailingComma` when reading for future opt-in setting Signed-off-by: Šimon Brandner * Update src/editor/parts.ts * Fix line length Signed-off-by: Šimon Brandner Co-authored-by: Travis Ralston --- .../tabs/user/PreferencesUserSettingsTab.tsx | 1 + src/editor/parts.ts | 6 +++++- src/i18n/strings/en_EN.json | 1 + src/settings/Settings.tsx | 5 +++++ src/settings/handlers/AccountSettingsHandler.ts | 13 +++++++++++++ 5 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx index ffc217dcf9..433e7728c1 100644 --- a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx +++ b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx @@ -162,6 +162,7 @@ export default class PreferencesUserSettingsTab extends React.Component