Skip to content

Commit

Permalink
Merge pull request #1805 from TheBeastOfCaerbannog/fix/3s-vti-kill
Browse files Browse the repository at this point in the history
Pass correct PID to language server
  • Loading branch information
octref authored Jun 24, 2020
2 parents 36e6bed + 23313c9 commit 53fc9c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions vti/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ async function prepareClientConnection(workspaceUri: Uri) {
const init: InitializeParams = {
rootPath: workspaceUri.fsPath,
rootUri: workspaceUri.toString(),
processId: process.pid,
...params
} as InitializeParams;

Expand Down
4 changes: 0 additions & 4 deletions vti/src/initParams.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
export const params = {
/**
* Doesn't matter as long as its positive
*/
processId: 1,
capabilities: {},
initializationOptions: {
config: {
Expand Down

0 comments on commit 53fc9c3

Please sign in to comment.