mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-25 18:07:07 +09:00
Adding showchars option
This commit is contained in:
@@ -70,7 +70,7 @@ var defaultCommonSettings = map[string]interface{}{
|
||||
"hltrailingws": false,
|
||||
"ignorecase": true,
|
||||
"incsearch": true,
|
||||
"indentchar": " ",
|
||||
"indentchar": " ", // Deprecated
|
||||
"keepautoindent": false,
|
||||
"matchbrace": true,
|
||||
"matchbraceleft": true,
|
||||
@@ -88,6 +88,7 @@ var defaultCommonSettings = map[string]interface{}{
|
||||
"scrollbar": false,
|
||||
"scrollmargin": float64(3),
|
||||
"scrollspeed": float64(2),
|
||||
"showchars": "",
|
||||
"smartpaste": true,
|
||||
"softwrap": false,
|
||||
"splitbottom": true,
|
||||
@@ -210,6 +211,7 @@ func validateParsedSettings() error {
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
||||
if _, ok := defaults[k]; ok {
|
||||
if e := verifySetting(k, v, defaults[k]); e != nil {
|
||||
err = e
|
||||
|
||||
Reference in New Issue
Block a user