mirror of
https://github.com/danog/code-server.git
synced 2024-12-14 02:07:28 +01:00
eae5d8c807
These conflicts will be resolved in the following commits. We do it this way so that PR review is possible.
32 lines
1.0 KiB
JSON
32 lines
1.0 KiB
JSON
{
|
|
"name": "python",
|
|
"displayName": "%displayName%",
|
|
"description": "%description%",
|
|
"version": "1.0.0",
|
|
"publisher": "vscode",
|
|
"license": "MIT",
|
|
"engines": { "vscode": "*" },
|
|
"extensionKind": [ "ui", "workspace", "web" ],
|
|
"contributes": {
|
|
"languages": [{
|
|
"id": "python",
|
|
"extensions": [ ".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi", ".pyi", ".ipy"],
|
|
"aliases": [ "Python", "py" ],
|
|
"filenames": [ "Snakefile", "SConstruct", "SConscript" ],
|
|
"firstLine": "^#!\\s*/?.*\\bpython[0-9.-]*\\b",
|
|
"configuration": "./language-configuration.json"
|
|
}],
|
|
"grammars": [{
|
|
"language": "python",
|
|
"scopeName": "source.python",
|
|
"path": "./syntaxes/MagicPython.tmLanguage.json"
|
|
},{
|
|
"scopeName": "source.regexp.python",
|
|
"path": "./syntaxes/MagicRegExp.tmLanguage.json"
|
|
}]
|
|
},
|
|
"scripts": {
|
|
"update-grammar": "node ../../build/npm/update-grammar.js MagicStack/MagicPython grammars/MagicPython.tmLanguage ./syntaxes/MagicPython.tmLanguage.json grammars/MagicRegExp.tmLanguage ./syntaxes/MagicRegExp.tmLanguage.json"
|
|
}
|
|
}
|