We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00695da commit 512cdedCopy full SHA for 512cded
src/extension.js
@@ -1,5 +1,5 @@
1
import {workspace} from 'vscode'
2
-import {LanguageClient} from 'vscode-languageclient/node.js'
+import {LanguageClient, TransportKind} from 'vscode-languageclient/node.js'
3
4
/**
5
* @type {LanguageClient}
@@ -12,7 +12,10 @@ let client
12
export async function activate(context) {
13
client = new LanguageClient(
14
'remark',
15
- {module: context.asAbsolutePath('out/remark-language-server.js')},
+ {
16
+ module: context.asAbsolutePath('out/remark-language-server.js'),
17
+ transport: TransportKind.ipc
18
+ },
19
{
20
documentSelector: [{scheme: 'file', language: 'markdown'}],
21
synchronize: {
0 commit comments