summaryrefslogtreecommitdiff
path: root/client/src/extension.ts
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-15 10:53:59 +0800
committersumneko <sumneko@hotmail.com>2019-04-15 10:53:59 +0800
commit1d558e745bbe5acb803280fbd0bf8bcb393a55e7 (patch)
treea2017ef0e2fb11060e2650d8940d7126e53c4264 /client/src/extension.ts
parent5f80931f8b3538d345b875aa97082e0685a06280 (diff)
downloadlua-language-server-1d558e745bbe5acb803280fbd0bf8bcb393a55e7.zip
不指定可执行文件的扩展名,以便支持跨平台
Diffstat (limited to 'client/src/extension.ts')
-rw-r--r--client/src/extension.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/extension.ts b/client/src/extension.ts
index b46b5c2d..61b14f18 100644
--- a/client/src/extension.ts
+++ b/client/src/extension.ts
@@ -23,7 +23,7 @@ export function activate(context: ExtensionContext) {
let serverOptions: ServerOptions = {
run: {
command: context.asAbsolutePath(
- path.join('server', 'bin', 'lua-language-server.exe')
+ path.join('server', 'bin', 'lua-language-server')
),
args: [
'-E',
@@ -41,7 +41,7 @@ export function activate(context: ExtensionContext) {
},
debug: {
command: context.asAbsolutePath(
- path.join('server', 'bin', 'lua-language-server.exe')
+ path.join('server', 'bin', 'lua-language-server')
),
args: [
'-E',