summaryrefslogtreecommitdiff
path: root/test.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-07 19:10:51 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-07 19:10:51 +0800
commit8d6d7b1a8c4474f3331d6445031c1a4bad267e06 (patch)
tree90b627e65366e3ae423cc748566e14dc395009fa /test.lua
parent2acaf8a90b8a0b061711b09f830515ac3861cfd2 (diff)
downloadlua-language-server-8d6d7b1a8c4474f3331d6445031c1a4bad267e06.zip
cleanup
Diffstat (limited to 'test.lua')
-rw-r--r--test.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/test.lua b/test.lua
index ae2748e0..d0a41ac6 100644
--- a/test.lua
+++ b/test.lua
@@ -80,14 +80,15 @@ local function testAll()
end
local function main()
+ require 'utility'.enableCloseFunction()
+ require 'config'
require 'core.searcher'.debugMode = true
require 'language' 'zh-cn'
- require 'utility'.enableCloseFunction()
+ require 'library'.init()
+ loadDocMetas()
- local config = require 'config'
- config.set('Lua.runtime.version', 'Lua 5.4')
--config.Lua.intelliSense.searchDepth = 5
- loadDocMetas()
+ --loadDocMetas()
--test 'full'