From de0920da53fbb5242b4ac4a97a744f65723e9d21 Mon Sep 17 00:00:00 2001 From: tophf Date: Tue, 13 Mar 2018 20:43:19 +0300 Subject: [PATCH] enable 'editor.autoCloseBrackets' in fresh installs by default because now that we have LivePreview enabled by default typing a single { breaks the style until a closing } is entered. --- js/prefs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/prefs.js b/js/prefs.js index e889caa7..b7369654 100644 --- a/js/prefs.js +++ b/js/prefs.js @@ -63,7 +63,7 @@ var prefs = new function Prefs() { 'editor.matchHighlight': 'token', // token = token/word under cursor even if nothing is selected // selection = only when something is selected // '' (empty string) = disabled - 'editor.autoCloseBrackets': false, // auto-add a closing pair when typing an opening one of ()[]{}''"" + 'editor.autoCloseBrackets': true, // auto-add a closing pair when typing an opening one of ()[]{}''"" 'editor.autocompleteOnTyping': false, // show autocomplete dropdown on typing a word token 'editor.contextDelete': contextDeleteMissing(), // "Delete" item in context menu