summaryrefslogtreecommitdiff
path: root/client/out/extension.js
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-28 23:55:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-28 23:55:00 +0800
commitf4d1b0210a63a91965198f2042750333882fadaa (patch)
tree7b108c8615a029b2ad13e02205892ba15cef7852 /client/out/extension.js
parent8b8cb7760d9ee01475d068f18ea88be1e96f1cf0 (diff)
downloadlua-language-server-f4d1b0210a63a91965198f2042750333882fadaa.zip
服务加载位置
Diffstat (limited to 'client/out/extension.js')
-rw-r--r--client/out/extension.js25
1 files changed, 7 insertions, 18 deletions
diff --git a/client/out/extension.js b/client/out/extension.js
index af5c2bf9..6fe820d8 100644
--- a/client/out/extension.js
+++ b/client/out/extension.js
@@ -13,24 +13,13 @@ function activate(context) {
// If the extension is launched in debug mode then the debug server options are used
// Otherwise the run options are used
let serverOptions = {
- run: {
- command: context.asAbsolutePath(path.join('server', 'bin', 'lua-language-server')),
- args: [
- '-E',
- '-e',
- 'LANG="' + language + '"',
- context.asAbsolutePath(path.join('server', 'main.lua'))
- ]
- },
- debug: {
- command: context.asAbsolutePath(path.join('server', 'bin', 'lua-language-server')),
- args: [
- '-E',
- '-e',
- 'LANG="' + language + '"',
- context.asAbsolutePath(path.join('server', 'main.lua'))
- ]
- }
+ command: context.asAbsolutePath(path.join('server', 'Windows', 'bin', 'lua-language-server')),
+ args: [
+ '-E',
+ '-e',
+ 'LANG="' + language + '"',
+ context.asAbsolutePath(path.join('server', 'main.lua'))
+ ]
};
// Options to control the language client
let clientOptions = {