diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/extension.ts | 38 |
1 files changed, 11 insertions, 27 deletions
diff --git a/client/src/extension.ts b/client/src/extension.ts index c6aba572..db9cbdda 100644 --- a/client/src/extension.ts +++ b/client/src/extension.ts @@ -10,7 +10,6 @@ import { LanguageClient, LanguageClientOptions, ServerOptions, - TransportKind } from 'vscode-languageclient'; let client: LanguageClient; @@ -21,32 +20,17 @@ export function activate(context: ExtensionContext) { // If the extension is launched in debug mode then the debug server options are used // Otherwise the run options are used let serverOptions: 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 |