Skip to content

Commit 4e5dd05

Browse files
committed
fix: Add missing listener for autoCloseBrackets setting
1 parent b8533cb commit 4e5dd05

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎src/lib/editorManager.js‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3459,6 +3459,22 @@ async function EditorManager($header, $body) {
34593459
applyOptions(["autoRenameTags"]);
34603460
});
34613461

3462+
appSettings.on("update:autoCloseBrackets", function () {
3463+
applyOptions(["autoCloseBrackets"]);
3464+
});
3465+
3466+
appSettings.on("update:bracketMatching", function () {
3467+
applyOptions(["bracketMatching"]);
3468+
});
3469+
3470+
appSettings.on("update:highlightActiveLine", function () {
3471+
applyOptions(["highlightActiveLine"]);
3472+
});
3473+
3474+
appSettings.on("update:highlightSelectionMatches", function () {
3475+
applyOptions(["highlightSelectionMatches"]);
3476+
});
3477+
34623478
appSettings.on("update:scrollPastEnd", function () {
34633479
applyOptions(["scrollPastEnd"]);
34643480
});

0 commit comments

Comments
 (0)