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.
This commit is contained in:
Daniel Imms 2015-12-03 08:39:41 -08:00
parent 2b7dccce56
commit a275306a4b

View file

@ -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"
}]
}
}
}