Skip to content

Commit

Permalink
fix the lsp cli for vim users, thanks @xuanduc!
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Jul 8, 2022
1 parent 938209d commit 6a5ec31
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .changeset/dual-poems-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'graphql-language-service-server': patch
'graphql-language-service-cli': patch
---

Fix error with LSP crash for CLI users #2230. `vscode-graphql` not impacted - rather, `nvim.coc`, maybe other clients who use CLI directly). recreation of #2546 by [@xuanduc987](https://github.com/xuanduc987, thank you!)

2 changes: 2 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ wincent
yoshiakis
zouxuoz
Divy
xuanduc

// packages and tools
argparse
Expand Down Expand Up @@ -235,3 +236,4 @@ typeahead
typeaheads
unparsable
randomthing

3 changes: 2 additions & 1 deletion packages/graphql-language-service-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
"nullthrows": "^1.0.0",
"vscode-jsonrpc": "^5.0.1",
"vscode-languageserver": "^6.1.1",
"vscode-languageserver-protocol": "~3.15.3",
"vscode-languageserver-types": "~3.15.1",
"fast-glob": "^3.2.7",
"vscode-uri": "^3.0.2",
"glob": "^7.2.0",
Expand All @@ -53,7 +55,6 @@
"@types/mkdirp": "^1.0.1",
"cross-env": "^7.0.2",
"graphql": "^16.4.0",
"vscode-languageserver-protocol": "^3.15.3",
"vscode-languageserver-types": "^3.15.1"
}
}
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19328,7 +19328,7 @@ [email protected]:
vscode-jsonrpc "^4.0.0"
vscode-languageserver-types "3.14.0"

vscode-languageserver-protocol@^3.15.3:
vscode-languageserver-protocol@^3.15.3, vscode-languageserver-protocol@~3.15.3:
version "3.15.3"
resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.15.3.tgz#3fa9a0702d742cf7883cb6182a6212fcd0a1d8bb"
integrity sha512-zrMuwHOAQRhjDSnflWdJG+O2ztMWss8GqUUB8dXLR/FPenwkiBNkMIJJYfSN6sgskvsF0rHAoBowNQfbyZnnvw==
Expand All @@ -19341,7 +19341,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.14.0.tgz#d3b5952246d30e5241592b6dde8280e03942e743"
integrity sha512-lTmS6AlAlMHOvPQemVwo3CezxBp0sNB95KNPkqp3Nxd5VFEnuG1ByM0zlRWos0zjO3ZWtkvhal0COgiV1xIA4A==

[email protected], vscode-languageserver-types@^3.15.1:
[email protected], vscode-languageserver-types@^3.15.1, vscode-languageserver-types@~3.15.1:
version "3.15.1"
resolved "https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.15.1.tgz#17be71d78d2f6236d414f0001ce1ef4d23e6b6de"
integrity sha512-+a9MPUQrNGRrGU630OGbYVQ+11iOIovjCkqxajPa9w57Sd5ruK8WQNsslzpa0x/QJqC8kRc2DUxWjIFwoNm4ZQ==
Expand Down

0 comments on commit 6a5ec31

Please sign in to comment.