Add brace highlighting

Use the 'matchbrace' option which is off by default.

Ref #853
This commit is contained in:
Zachary Yedidia
2018-01-07 15:50:08 -05:00
parent 0b47502e62
commit 86c08bd747
3 changed files with 74 additions and 1 deletions

View File

@@ -214,6 +214,7 @@ func DefaultGlobalSettings() map[string]interface{} {
"infobar": true,
"keepautoindent": false,
"keymenu": false,
"matchbrace": false,
"mouse": true,
"pluginchannels": []string{"https://raw.githubusercontent.com/micro-editor/plugin-channel/master/channel.json"},
"pluginrepos": []string{},
@@ -255,6 +256,7 @@ func DefaultLocalSettings() map[string]interface{} {
"ignorecase": false,
"indentchar": " ",
"keepautoindent": false,
"matchbrace": false,
"rmtrailingws": false,
"ruler": true,
"savecursor": false,