diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-23 00:05:30 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-23 00:05:30 +0800 |
commit | 6da2b175e20ed3c03b0dfcfc9046de1e0e5d4444 (patch) | |
tree | fdc22d78150fd1c5edc46732c8b151ccfefb519f /script/main.lua | |
parent | d0ff66c9abe9d6abbca12fd811e0c3cb69c1033a (diff) | |
download | lua-language-server-6da2b175e20ed3c03b0dfcfc9046de1e0e5d4444.zip |
正路目录
Diffstat (limited to 'script/main.lua')
-rw-r--r-- | script/main.lua | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/script/main.lua b/script/main.lua deleted file mode 100644 index afb32f03..00000000 --- a/script/main.lua +++ /dev/null @@ -1,23 +0,0 @@ -local currentPath = debug.getinfo(1, 'S').source:sub(2) -local rootPath = currentPath:gsub('[/\\]*[^/\\]-$', '') -dofile(rootPath .. '/platform.lua') -local fs = require 'bee.filesystem' -ROOT = fs.current_path() / rootPath -LANG = LANG or 'en-US' - ---collectgarbage('generational') -collectgarbage("setpause", 100) -collectgarbage("setstepmul", 1000) - -log = require 'log' -log.init(ROOT, ROOT / 'log' / 'service.log') -log.info('Lua Lsp startup, root: ', ROOT) -log.debug('ROOT:', ROOT:string()) -ac = {} - ---xpcall(dofile, log.debug, rootPath .. '/debugger.lua') -require 'utility' -local service = require 'service' -local session = service() - -session:listen() |