From de1fad88c2f9016701bdfd823e4ecaab7487a54c Mon Sep 17 00:00:00 2001 From: William Boman Date: Sun, 5 Dec 2021 23:17:31 +0100 Subject: fix(graphql): add typescriptreact, javascriptreact filetypes (#1544) --- lua/lspconfig/server_configurations/graphql.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/graphql.lua b/lua/lspconfig/server_configurations/graphql.lua index b5840941..f4299e99 100644 --- a/lua/lspconfig/server_configurations/graphql.lua +++ b/lua/lspconfig/server_configurations/graphql.lua @@ -3,7 +3,7 @@ local util = require 'lspconfig.util' return { default_config = { cmd = { 'graphql-lsp', 'server', '-m', 'stream' }, - filetypes = { 'graphql' }, + filetypes = { 'graphql', 'typescriptreact', 'javascriptreact' }, root_dir = util.root_pattern('.git', '.graphqlrc*', '.graphql.config.*', 'graphql.config.*'), }, -- cgit v1.2.3-70-g09d2