From 3cca41510aabedcb99a120e096ce3bd82679bade Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Tue, 28 Jan 2020 16:11:39 -0800 Subject: [PATCH] Add basic code intelligence for GraphQL schema files. Part of https://github.com/sourcegraph/sourcegraph/issues/3688. Requires https://github.com/sourcegraph/sourcegraph/pull/8099. --- languages.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/languages.ts b/languages.ts index 5ea5647c4..bd98d253f 100644 --- a/languages.ts +++ b/languages.ts @@ -586,4 +586,12 @@ export const languageSpecs: LanguageSpec[] = [ }, stylized: 'VHDL', }, + { + handlerArgs: { + languageID: 'graphql', + fileExts: ['graphql'], + commentStyle: shellStyle, + }, + stylized: 'GraphQL', + }, ]