From feabe97f84a8c50fcb5abec88cbbf46e6383027f Mon Sep 17 00:00:00 2001 From: Andy Date: Sat, 11 Feb 2017 18:09:15 +0000 Subject: [PATCH] Added auto closing pairs and surrounding pairs --- ahk.configuration.json | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/ahk.configuration.json b/ahk.configuration.json index 54005c9..a866654 100644 --- a/ahk.configuration.json +++ b/ahk.configuration.json @@ -6,9 +6,27 @@ "blockComment": [ "/*", "*/" ] }, // symbols used as brackets - "brackets": [ - ["{", "}"], - ["[", "]"], + "brackets": [ + ["{", "}"], + ["[", "]"], ["(", ")"] + ], + // symbols that are auto closed when typing + "autoClosingPairs": [ + ["{", "}"], + ["[", "]"], + ["(", ")"], + ["\"", "\""], + ["'", "'"], + ["%", "%"] + ], + // symbols that that can be used to surround a selection + "surroundingPairs": [ + ["{", "}"], + ["[", "]"], + ["(", ")"], + ["\"", "\""], + ["'", "'"], + ["%", "%"] ] } \ No newline at end of file