summaryrefslogtreecommitdiff
path: root/client
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
parent5f80931f8b3538d345b875aa97082e0685a06280 (diff)
downloadlua-language-server-1d558e745bbe5acb803280fbd0bf8bcb393a55e7.zip
不指定可执行文件的扩展名,以便支持跨平台
Diffstat (limited to 'client')
-rw-r--r--client/out/extension.js4
-rw-r--r--client/src/extension.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/client/out/extension.js b/client/out/extension.js
index 8210160e..533791ba 100644
--- a/client/out/extension.js
+++ b/client/out/extension.js
@@ -14,7 +14,7 @@ function activate(context) {
// Otherwise the run options are used
let serverOptions = {
run: {
- command: context.asAbsolutePath(path.join('server', 'bin', 'lua-language-server.exe')),
+ command: context.asAbsolutePath(path.join('server', 'bin', 'lua-language-server')),
args: [
'-E',
'-e',
@@ -26,7 +26,7 @@ function activate(context) {
}
},
debug: {
- command: context.asAbsolutePath(path.join('server', 'bin', 'lua-language-server.exe')),
+ command: context.asAbsolutePath(path.join('server', 'bin', 'lua-language-server')),
args: [
'-E',
'-e',
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',