diff options
| author | Trent Nicholson <39316919+NICHTJ3@users.noreply.github.com> | 2021-11-15 06:45:56 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-14 09:45:56 -0800 |
| commit | 2b5af30f242b054769a35f0f0563aa294be9fbde (patch) | |
| tree | 2590a47e5a1557948b3bf94016978e99173d1d75 /lua/lspconfig/graphql.lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-2b5af30f242b054769a35f0f0563aa294be9fbde.tar nvim-lspconfig-2b5af30f242b054769a35f0f0563aa294be9fbde.tar.gz nvim-lspconfig-2b5af30f242b054769a35f0f0563aa294be9fbde.tar.bz2 nvim-lspconfig-2b5af30f242b054769a35f0f0563aa294be9fbde.tar.lz nvim-lspconfig-2b5af30f242b054769a35f0f0563aa294be9fbde.tar.xz nvim-lspconfig-2b5af30f242b054769a35f0f0563aa294be9fbde.tar.zst nvim-lspconfig-2b5af30f242b054769a35f0f0563aa294be9fbde.zip | |
fix(graphql): detect graphql.config.* files as root (#1351)
Diffstat (limited to 'lua/lspconfig/graphql.lua')
| -rw-r--r-- | lua/lspconfig/graphql.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/graphql.lua b/lua/lspconfig/graphql.lua index 8d89607f..10af6f11 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*', '.graphql.config.*'), + root_dir = util.root_pattern('.git', '.graphqlrc*', '.graphql.config.*', 'graphql.config.*'), }, docs = { |
