diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/graphql.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lspconfig/graphql.lua b/lua/lspconfig/graphql.lua index 6a93c6f8..b535b73e 100644 --- a/lua/lspconfig/graphql.lua +++ b/lua/lspconfig/graphql.lua @@ -8,7 +8,7 @@ configs[server_name] = { default_config = { cmd = { bin_name, 'server', '-m', 'stream' }, filetypes = { 'graphql' }, - root_dir = util.root_pattern('.git', '.graphqlrc'), + root_dir = util.root_pattern('.git', '.graphqlrc*', '.graphql.config.*'), }, docs = { @@ -22,7 +22,7 @@ npm install -g graphql-language-service-cli ``` ]], default_config = { - root_dir = [[root_pattern('.git', '.graphqlrc')]], + root_dir = [[root_pattern('.git', '.graphqlrc*', '.graphql.config.*')]], }, }, } |
