Skip to content

Commit

Permalink
fix: since update to lsp-client v7
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed Dec 23, 2020
1 parent ec3dee3 commit e3fa686
Show file tree
Hide file tree
Showing 3 changed files with 393 additions and 566 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"@commitlint/config-conventional": "^11.0.0",
"@commitlint/prompt-cli": "^11.0.0",
"@types/node": "^14.14.14",
"@types/vscode": "*",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.9.1",
"eslint": "^7.15.0",
Expand All @@ -98,14 +99,13 @@
"pretty-quick": "^3.1.0",
"standard-version": "^9.0",
"typescript": "^4.1.3",
"vsce": "^1.83.0",
"vscode": "^1.1.25"
"vsce": "^1.83.0"
},
"scripts": {
"prebuild": "js-yaml syntaxes/nix.YAML-tmLanguage > syntaxes/nix.tmLanguage.json && js-yaml syntaxes/injection.yml > syntaxes/injection.json",
"build": "tsc -p ./",
"watch": "yarn build --watch",
"postinstall": "node ./node_modules/vscode/bin/install && husky install",
"postinstall": "husky install",
"release": "standard-version && git push --follow-tags",
"pkg-release": "vsce publish && ovsx publish --pat $OVS_PAT",
"lint": "eslint --ext ts src"
Expand Down
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// from PR of https://github.com/nix-community/vscode-nix-ide/pull/16/

import { env, ExtensionContext, Uri, window, workspace } from "vscode";
import { LanguageClientOptions } from "vscode-languageclient";
import {
Executable,
LanguageClient,
LanguageClientOptions,
ServerOptions,
} from "vscode-languageclient";
} from "vscode-languageclient/node";
import { config, UriMessageItem } from "./configuration";

let client: LanguageClient;
Expand Down
Loading

0 comments on commit e3fa686

Please sign in to comment.