Add colorcolumn option

Fixes #333

For example: `> set colorcolumn 80`.
This commit is contained in:
Zachary Yedidia
2016-09-07 17:17:51 -04:00
parent dc8207149b
commit 8f06e51170
13 changed files with 37 additions and 11 deletions

View File

@@ -165,6 +165,7 @@ func GetOption(name string) interface{} {
func DefaultGlobalSettings() map[string]interface{} {
return map[string]interface{}{
"autoindent": true,
"colorcolumn": float64(0),
"colorscheme": "zenburn",
"cursorline": true,
"ignorecase": false,
@@ -187,6 +188,7 @@ func DefaultGlobalSettings() map[string]interface{} {
func DefaultLocalSettings() map[string]interface{} {
return map[string]interface{}{
"autoindent": true,
"colorcolumn": float64(0),
"cursorline": true,
"filetype": "Unknown",
"ignorecase": false,