diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-08-28 23:55:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-08-28 23:55:00 +0800 |
commit | f4d1b0210a63a91965198f2042750333882fadaa (patch) | |
tree | 7b108c8615a029b2ad13e02205892ba15cef7852 /client/out/extension.js | |
parent | 8b8cb7760d9ee01475d068f18ea88be1e96f1cf0 (diff) | |
download | lua-language-server-f4d1b0210a63a91965198f2042750333882fadaa.zip |
服务加载位置
Diffstat (limited to 'client/out/extension.js')
-rw-r--r-- | client/out/extension.js | 25 |
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 = { |