From 88aeca7d4abf7ba650ffc2c7be99bb885a7e2990 Mon Sep 17 00:00:00 2001
From: Pierre Ranwez <pierre.ranwez.etu@univ-lille.fr>
Date: Wed, 9 Feb 2022 10:30:38 +0100
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20bug:=20autocomplete=20brackets?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.js b/main.js
index 049175f..555c0d9 100644
--- a/main.js
+++ b/main.js
@@ -47,7 +47,7 @@ function loadEditor() {
 	chrome.storage.sync.get(['parameters'], function (result) {
 		parameters = JSON.parse(result.parameters);
 		parameters.forEach(p => {
-			autoComplete.push({ value: p[1], score: 1, meta: p[3] + " " + p[4] });
+			autoComplete.push({ value: '['+p[1]+']', score: 1, meta: p[3] + " " + p[4] });
 		});
 	});
 
-- 
GitLab