aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorMichael Härtl <haertl.mike@gmail.com>2022-06-01 16:15:43 +0200
committerGitHub <noreply@github.com>2022-06-01 07:15:43 -0700
commit5072e472afd42d81b54dfdedc4ff1a673190d28b (patch)
treecb7f2fa2d4cc345fdd6df698a0bc2e9e6172acbb /lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-5072e472afd42d81b54dfdedc4ff1a673190d28b.tar
nvim-lspconfig-5072e472afd42d81b54dfdedc4ff1a673190d28b.tar.gz
nvim-lspconfig-5072e472afd42d81b54dfdedc4ff1a673190d28b.tar.bz2
nvim-lspconfig-5072e472afd42d81b54dfdedc4ff1a673190d28b.tar.lz
nvim-lspconfig-5072e472afd42d81b54dfdedc4ff1a673190d28b.tar.xz
nvim-lspconfig-5072e472afd42d81b54dfdedc4ff1a673190d28b.tar.zst
nvim-lspconfig-5072e472afd42d81b54dfdedc4ff1a673190d28b.zip
docs(graphql): fix docs on root_dir defaults (#1923)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/graphql.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/graphql.lua b/lua/lspconfig/server_configurations/graphql.lua
index d34881cd..2d586c9e 100644
--- a/lua/lspconfig/server_configurations/graphql.lua
+++ b/lua/lspconfig/server_configurations/graphql.lua
@@ -27,7 +27,7 @@ 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.*')]],
+ root_dir = [[util.root_pattern('.git', '.graphqlrc*', '.graphql.config.*', 'graphql.config.*')]],
},
},
}