Skip to content
Snippets Groups Projects
Commit 9341ca6c authored by 最萌小汐's avatar 最萌小汐
Browse files

fix

parent b1c58cdb
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,7 @@ ROOT = fs.path(expanduser(rootPath)) ...@@ -42,6 +42,7 @@ ROOT = fs.path(expanduser(rootPath))
LOGPATH = LOGPATH and expanduser(LOGPATH) or (ROOT:string() .. '/log') LOGPATH = LOGPATH and expanduser(LOGPATH) or (ROOT:string() .. '/log')
METAPATH = METAPATH and expanduser(METAPATH) or (ROOT:string() .. '/meta') METAPATH = METAPATH and expanduser(METAPATH) or (ROOT:string() .. '/meta')
---@diagnostic disable-next-line: deprecated
debug.setcstacklimit(200) debug.setcstacklimit(200)
collectgarbage('generational', 10, 50) collectgarbage('generational', 10, 50)
--collectgarbage('incremental', 120, 120, 0) --collectgarbage('incremental', 120, 120, 0)
......
...@@ -103,7 +103,7 @@ m.DiagnosticDefaultNeededFileStatus = { ...@@ -103,7 +103,7 @@ m.DiagnosticDefaultNeededFileStatus = {
['unused-local'] = 'Opened', ['unused-local'] = 'Opened',
['unused-function'] = 'Opened', ['unused-function'] = 'Opened',
['undefined-global'] = 'Any', ['undefined-global'] = 'Any',
['undefined-field'] = 'Opened', ['undefined-field'] = 'Any',
['global-in-nil-env'] = 'Any', ['global-in-nil-env'] = 'Any',
['unused-label'] = 'Opened', ['unused-label'] = 'Opened',
['unused-vararg'] = 'Opened', ['unused-vararg'] = 'Opened',
...@@ -124,7 +124,7 @@ m.DiagnosticDefaultNeededFileStatus = { ...@@ -124,7 +124,7 @@ m.DiagnosticDefaultNeededFileStatus = {
['close-non-object'] = 'Any', ['close-non-object'] = 'Any',
['count-down-loop'] = 'Any', ['count-down-loop'] = 'Any',
['no-implicit-any'] = 'None', ['no-implicit-any'] = 'None',
['deprecated'] = 'Opened', ['deprecated'] = 'Any',
['duplicate-doc-class'] = 'Any', ['duplicate-doc-class'] = 'Any',
['undefined-doc-class'] = 'Any', ['undefined-doc-class'] = 'Any',
......
---@diagnostic disable: deprecated
local pub = require 'pub' local pub = require 'pub'
local thread = require 'bee.thread' local thread = require 'bee.thread'
local await = require 'await' local await = require 'await'
......
...@@ -80,7 +80,6 @@ local function testAll() ...@@ -80,7 +80,6 @@ local function testAll()
end end
local function main() local function main()
debug.setcstacklimit(1000)
require 'core.searcher'.debugMode = true require 'core.searcher'.debugMode = true
require 'language' 'zh-cn' require 'language' 'zh-cn'
require 'utility'.enableCloseFunction() require 'utility'.enableCloseFunction()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment