From a275306a4b229095a772815a84ae195dc20f84d8 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Thu, 3 Dec 2015 08:39:41 -0800 Subject: [PATCH] Add .gn as a python file extension GN is a meta-build system that generates NinjaBuild files. GN syntax is a stripped down version of python. --- extensions/python/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/python/package.json b/extensions/python/package.json index 5d178ef1c65..ae1633093bc 100644 --- a/extensions/python/package.json +++ b/extensions/python/package.json @@ -6,7 +6,7 @@ "contributes": { "languages": [{ "id": "python", - "extensions": [ ".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi" ], + "extensions": [ ".py", ".rpy", ".pyw", ".cpy", ".gn", ".gyp", ".gypi" ], "aliases": [ "Python", "py" ], "firstLine": "^#!/.*\\bpython[0-9.-]*\\b", "configuration": "./python.configuration.json" @@ -20,4 +20,4 @@ "path": "./syntaxes/Regular Expressions (Python).tmLanguage" }] } -} \ No newline at end of file +}