From ab691d68715ed38b8b4894021213b69fce503468 Mon Sep 17 00:00:00 2001 From: Jacob G-W Date: Sun, 20 Oct 2024 20:44:44 -0400 Subject: [PATCH] fix(keybinds): patch commenting with `modifier-/` not working --- src/web/js/beforePyret.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/js/beforePyret.js b/src/web/js/beforePyret.js index 16f06d61..81d50606 100644 --- a/src/web/js/beforePyret.js +++ b/src/web/js/beforePyret.js @@ -290,7 +290,7 @@ $(function() { "Alt-Right": "goForwardSexp", "Ctrl-Left": "goBackwardToken", "Ctrl-Right": "goForwardToken", - [`${modifier}-/`]: "toggleComment", + [`${modifier}-/`]: function (cm) { cm.toggleComment({ "lineComment": "#" }); }, }), indentUnit: 2, tabSize: 2,