Add 'autosave' option

Closes #278
This commit is contained in:
Zachary Yedidia
2016-09-28 13:07:05 -04:00
parent 191fd5e495
commit fb69ecdc9b
5 changed files with 33 additions and 3 deletions

View File

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