aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/graphql.lua
diff options
context:
space:
mode:
authorMatt Mirus <matt@mattmirus.com>2022-02-28 10:55:19 -0500
committerGitHub <noreply@github.com>2022-02-28 07:55:19 -0800
commitf0bcd3608b850b95c83bb09d2a7e21dde796f51c (patch)
treebb9bed79a459f0da4b1a9451084a2cdb7e26234a /lua/lspconfig/server_configurations/graphql.lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-f0bcd3608b850b95c83bb09d2a7e21dde796f51c.tar
nvim-lspconfig-f0bcd3608b850b95c83bb09d2a7e21dde796f51c.tar.gz
nvim-lspconfig-f0bcd3608b850b95c83bb09d2a7e21dde796f51c.tar.bz2
nvim-lspconfig-f0bcd3608b850b95c83bb09d2a7e21dde796f51c.tar.lz
nvim-lspconfig-f0bcd3608b850b95c83bb09d2a7e21dde796f51c.tar.xz
nvim-lspconfig-f0bcd3608b850b95c83bb09d2a7e21dde796f51c.tar.zst
nvim-lspconfig-f0bcd3608b850b95c83bb09d2a7e21dde796f51c.zip
docs: update GraphQL instructions (#1744)
Diffstat (limited to 'lua/lspconfig/server_configurations/graphql.lua')
-rw-r--r--lua/lspconfig/server_configurations/graphql.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/graphql.lua b/lua/lspconfig/server_configurations/graphql.lua
index 43fd23d2..d34881cd 100644
--- a/lua/lspconfig/server_configurations/graphql.lua
+++ b/lua/lspconfig/server_configurations/graphql.lua
@@ -23,6 +23,8 @@ https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-
```sh
npm install -g graphql-language-service-cli
```
+
+Note that you must also have [the graphql package](https://github.com/graphql/graphql-js) installed and create a [GraphQL config file](https://www.graphql-config.com/docs/user/user-introduction).
]],
default_config = {
root_dir = [[root_pattern('.git', '.graphqlrc*', '.graphql.config.*')]],