[python] non-file extension filetype detection. Fixes #52519
This commit is contained in:
parent
44ab7993d4
commit
d34d9735cc
1 changed files with 1 additions and 1 deletions
|
@ -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": [{
|
||||
|
|
Loading…
Reference in a new issue