From f0bcd3608b850b95c83bb09d2a7e21dde796f51c Mon Sep 17 00:00:00 2001 From: Matt Mirus Date: Mon, 28 Feb 2022 10:55:19 -0500 Subject: docs: update GraphQL instructions (#1744) --- lua/lspconfig/server_configurations/graphql.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua') 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.*')]], -- cgit v1.2.3-70-g09d2