From 2b5af30f242b054769a35f0f0563aa294be9fbde Mon Sep 17 00:00:00 2001 From: Trent Nicholson <39316919+NICHTJ3@users.noreply.github.com> Date: Mon, 15 Nov 2021 06:45:56 +1300 Subject: fix(graphql): detect graphql.config.* files as root (#1351) --- lua/lspconfig/graphql.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') 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 = { -- cgit v1.2.3-70-g09d2