mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Rename indent-line to indent-char, change default value from | to
This commit is contained in:
@@ -74,7 +74,7 @@ func DefaultSettings() map[string]interface{} {
|
||||
return map[string]interface{}{
|
||||
"colorscheme": "default",
|
||||
"tabsize": float64(4),
|
||||
"indentchar": "|",
|
||||
"indentchar": " ",
|
||||
"autoindent": true,
|
||||
"syntax": true,
|
||||
"tabsToSpaces": false,
|
||||
|
||||
@@ -546,7 +546,7 @@ func (v *View) DisplayView() {
|
||||
|
||||
if ch == '\t' {
|
||||
lineIndentStyle := defStyle
|
||||
if style, ok := colorscheme["indent-line"]; ok {
|
||||
if style, ok := colorscheme["indent-char"]; ok {
|
||||
lineIndentStyle = style
|
||||
}
|
||||
indentChar := []rune(settings["indentchar"].(string))
|
||||
|
||||
Reference in New Issue
Block a user