Change some default option values

This commit is contained in:
Zachary Yedidia 2020-02-13 20:51:56 -05:00
parent 4874823240
commit 600d8558b2
3 changed files with 12 additions and 12 deletions

File diff suppressed because one or more lines are too long

View file

@ -184,7 +184,7 @@ func GetGlobalOption(name string) interface{} {
var defaultCommonSettings = map[string]interface{}{ var defaultCommonSettings = map[string]interface{}{
"autoindent": true, "autoindent": true,
"autosu": true, "autosu": false,
"backup": true, "backup": true,
"basename": false, "basename": false,
"colorcolumn": float64(0), "colorcolumn": float64(0),
@ -192,7 +192,7 @@ var defaultCommonSettings = map[string]interface{}{
"diffgutter": false, "diffgutter": false,
"encoding": "utf-8", "encoding": "utf-8",
"eofnewline": false, "eofnewline": false,
"fastdirty": true, "fastdirty": false,
"fileformat": "unix", "fileformat": "unix",
"filetype": "unknown", "filetype": "unknown",
"ignorecase": false, "ignorecase": false,

View file

@ -95,10 +95,10 @@ Here are the available options:
This is fast, but can be inaccurate. If `fastdirty` is off, then micro will This is fast, but can be inaccurate. If `fastdirty` is off, then micro will
hash the current buffer against a hash of the original file (created when hash the current buffer against a hash of the original file (created when
the buffer was loaded). This is more accurate but obviously more resource the buffer was loaded). This is more accurate but obviously more resource
intensive. This option is only for people who really care about having intensive. This option will be automatically disabled if the file size
accurate modified status. exceeds 50KB.
default value: `true` default value: `false`
* `fileformat`: this determines what kind of line endings micro will use for * `fileformat`: this determines what kind of line endings micro will use for
the file. UNIX line endings are just `\n` (linefeed) whereas dos line the file. UNIX line endings are just `\n` (linefeed) whereas dos line