summaryrefslogtreecommitdiff
path: root/script/main.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-23 00:05:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-23 00:05:30 +0800
commit6da2b175e20ed3c03b0dfcfc9046de1e0e5d4444 (patch)
treefdc22d78150fd1c5edc46732c8b151ccfefb519f /script/main.lua
parentd0ff66c9abe9d6abbca12fd811e0c3cb69c1033a (diff)
downloadlua-language-server-6da2b175e20ed3c03b0dfcfc9046de1e0e5d4444.zip
正路目录
Diffstat (limited to 'script/main.lua')
-rw-r--r--script/main.lua23
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()