diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-20 21:57:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-20 21:57:09 +0800 |
commit | 4ca61ec457822dd14966afa0752340ae8ce180a1 (patch) | |
tree | ae8adb1ad82c717868e551e699fd3cf3bb290089 /main-beta.lua | |
parent | c63b2e404d8d2bb984afe3678a5ba2b2836380cc (diff) | |
download | lua-language-server-4ca61ec457822dd14966afa0752340ae8ce180a1.zip |
no longer beta
Diffstat (limited to 'main-beta.lua')
-rw-r--r-- | main-beta.lua | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/main-beta.lua b/main-beta.lua deleted file mode 100644 index e7600149..00000000 --- a/main-beta.lua +++ /dev/null @@ -1,23 +0,0 @@ -local currentPath = debug.getinfo(1, 'S').source:sub(2) -local rootPath = currentPath:gsub('[/\\]*[^/\\]-$', '') -loadfile((rootPath == '' and '.' or rootPath) .. '/platform.lua')('script-beta') -local fs = require 'bee.filesystem' -ROOT = fs.path(rootPath) -LANG = LANG or 'en-US' - -debug.setcstacklimit(200) -collectgarbage('generational', 10, 100) ---collectgarbage('incremental', 120, 120, 0) - -log = require 'log' -log.init(ROOT, ROOT / 'log' / 'service.log') -log.info('Lua Lsp startup, root: ', ROOT) -log.debug('ROOT:', ROOT:string()) - -xpcall(dofile, log.debug, rootPath .. '/debugger.lua') - -local service = require 'service' - --- TODO ---ALL_DEEP = true -service.start() |