mirror of
https://github.com/coder/code-server.git
synced 2024-12-25 23:39:47 +08:00
71 lines
1.5 KiB
JSON
71 lines
1.5 KiB
JSON
{
|
|
"name": "shellscript",
|
|
"displayName": "%displayName%",
|
|
"description": "%description%",
|
|
"version": "1.0.0",
|
|
"publisher": "vscode",
|
|
"license": "MIT",
|
|
"engines": { "vscode": "*" },
|
|
"scripts": {
|
|
"update-grammar": "node ../../build/npm/update-grammar.js atom/language-shellscript grammars/shell-unix-bash.cson ./syntaxes/shell-unix-bash.tmLanguage.json"
|
|
},
|
|
"contributes": {
|
|
"languages": [{
|
|
"id": "shellscript",
|
|
"aliases": ["Shell Script", "shellscript", "bash", "sh", "zsh", "ksh", "csh"],
|
|
"extensions": [
|
|
".sh",
|
|
".bash",
|
|
".bashrc",
|
|
".bash_aliases",
|
|
".bash_profile",
|
|
".bash_login",
|
|
".ebuild",
|
|
".install",
|
|
".profile",
|
|
".bash_logout",
|
|
".zsh",
|
|
".zshrc",
|
|
".zprofile",
|
|
".zlogin",
|
|
".zlogout",
|
|
".zshenv",
|
|
".zsh-theme",
|
|
".ksh",
|
|
".csh",
|
|
".cshrc",
|
|
".tcshrc",
|
|
".yashrc",
|
|
".yash_profile"
|
|
],
|
|
"filenames": [
|
|
"APKBUILD",
|
|
"PKGBUILD",
|
|
".envrc",
|
|
".hushlogin",
|
|
"zshrc",
|
|
"zshenv",
|
|
"zlogin",
|
|
"zprofile",
|
|
"zlogout",
|
|
"bashrc_Apple_Terminal",
|
|
"zshrc_Apple_Terminal"
|
|
],
|
|
"firstLine": "^#!.*\\b(bash|zsh|sh|ksh|dtksh|pdksh|mksh|ash|dash|yash|sh|csh|jcsh|tcsh|itcsh).*|^#\\s*-\\*-[^*]*mode:\\s*shell-script[^*]*-\\*-",
|
|
"configuration": "./language-configuration.json",
|
|
"mimetypes": ["text/x-shellscript"]
|
|
}],
|
|
"grammars": [{
|
|
"language": "shellscript",
|
|
"scopeName": "source.shell",
|
|
"path": "./syntaxes/shell-unix-bash.tmLanguage.json"
|
|
}],
|
|
"configurationDefaults": {
|
|
"[shellscript]": {
|
|
"files.eol": "\n"
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|