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:
parent
2b7dccce56
commit
a275306a4b
|
@ -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"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue