CloseBrackets setting toggle (#102)

* Add a setting to toggle the auto bracket-closing of CodeMirror

* Move Auto-close brackets setting into new settings tab Editing

* Add tests for Auto-close bracket setting

---------

Co-authored-by: Jonatan Heyman <jonatan@heyman.info>
This commit is contained in:
Florian Labarre
2024-01-04 14:52:41 +01:00
committed by GitHub
parent acb7ddf189
commit 0f3c714d56
7 changed files with 80 additions and 5 deletions

View File

@ -32,6 +32,7 @@ const schema = {
"bufferPath" : {type: "string", default: ""},
"showInDock": {type: "boolean", default: true},
"showInMenu": {type: "boolean", default: false},
"bracketClosing": {type: "boolean", default: false},
},
},
@ -59,6 +60,7 @@ const defaults = {
bufferPath: "",
showInDock: true,
showInMenu: false,
bracketClosing: false,
},
theme: "system",
}