options: Add capability to define the line count parsed for the signature check

This commit is contained in:
Jöran Karl
2023-06-06 21:59:35 +02:00
parent 2d0d0416e7
commit 3c16df87ee
4 changed files with 17 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ func init() {
var optionValidators = map[string]optionValidator{
"autosave": validateNonNegativeValue,
"clipboard": validateClipboard,
"detectlimit": validateNonNegativeValue,
"tabsize": validatePositiveValue,
"scrollmargin": validateNonNegativeValue,
"scrollspeed": validateNonNegativeValue,
@@ -280,6 +281,7 @@ var defaultCommonSettings = map[string]interface{}{
"basename": false,
"colorcolumn": float64(0),
"cursorline": true,
"detectlimit": float64(100),
"diffgutter": false,
"encoding": "utf-8",
"eofnewline": true,