mirror of
https://github.com/heyman/heynote.git
synced 2025-08-16 17:41:25 +02:00
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:
@ -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",
|
||||
}
|
||||
|
Reference in New Issue
Block a user