diff options
-rw-r--r-- | .luarc.json | 28 | ||||
-rw-r--r-- | script/config/template.lua | 2 |
2 files changed, 12 insertions, 18 deletions
diff --git a/.luarc.json b/.luarc.json index 43a34445..2be19160 100644 --- a/.luarc.json +++ b/.luarc.json @@ -3,16 +3,17 @@ "disable": [ "close-non-object" ], - "neededFileStatus": { - "undefined-field": "Any", - "await-in-sync": "Any", - "not-yieldable": "Any", - "discard-returns": "Any", - "redundant-parameter": "Any", - "missing-parameter": "Any", - "need-check-nil": "Any", - "redundant-value": "Any", - "deprecated": "Any" + "groupFileStatus": { + "ambiguity": "Any", + "await": "Any", + "duplicate": "Any", + "global": "Any", + "luadoc": "Any", + "redefined": "Any", + "strict": "Any", + "type-check": "Any", + "unbalanced": "Any", + "unused": "Any" }, "ignoredFiles": "Opened", "libraryFiles": "Opened" @@ -36,13 +37,6 @@ "3rd", ".vscode", "meta" - ], - "library": [ - "script/meta", - "bin" ] - }, - "hover": { - "previewFields": 50 } } diff --git a/script/config/template.lua b/script/config/template.lua index af911718..672bad21 100644 --- a/script/config/template.lua +++ b/script/config/template.lua @@ -330,7 +330,7 @@ local template = { ['Lua.hover.viewString'] = Type.Boolean >> true, ['Lua.hover.viewStringMax'] = Type.Integer >> 1000, ['Lua.hover.viewNumber'] = Type.Boolean >> true, - ['Lua.hover.previewFields'] = Type.Integer >> 50, + ['Lua.hover.previewFields'] = Type.Integer >> 30, ['Lua.hover.enumsLimit'] = Type.Integer >> 5, ['Lua.hover.expandAlias'] = Type.Boolean >> true, ['Lua.semantic.enable'] = Type.Boolean >> true, |