mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
[python] non-file extension filetype detection. Fixes #52519
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"id": "python",
|
||||
"extensions": [ ".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi", ".snakefile", ".smk"],
|
||||
"aliases": [ "Python", "py" ],
|
||||
"firstLine": "^#!/.*\\bpython[0-9.-]*\\b",
|
||||
"firstLine": "^#!\\s*/.*\\bpython[0-9.-]*\\b",
|
||||
"configuration": "./language-configuration.json"
|
||||
}],
|
||||
"grammars": [{
|
||||
|
||||
Reference in New Issue
Block a user