mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
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:
@@ -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"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user