chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:38:42 +08:00
commit 2d485ba600
8326 changed files with 2641263 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
test/**
cgmanifest.json
+17
View File
@@ -0,0 +1,17 @@
{
"registrations": [
{
"component": {
"type": "git",
"git": {
"name": "jeff-hykin/better-shell-syntax",
"repositoryUrl": "https://github.com/jeff-hykin/better-shell-syntax",
"commitHash": "35020b0bd79a90d3b262b4c13a8bb0b33adc1f45"
}
},
"license": "MIT",
"version": "1.8.7"
}
],
"version": 1
}
@@ -0,0 +1,32 @@
{
"comments": {
"lineComment": "#"
},
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
{ "open": "\"", "close": "\"", "notIn": ["string"] },
{ "open": "'", "close": "'", "notIn": ["string"] },
{ "open": "`", "close": "`", "notIn": ["string"] }
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"],
["`", "`"]
],
"folding": {
"markers": {
"start": "^\\s*#\\s*#?region\\b.*",
"end": "^\\s*#\\s*#?endregion\\b.*"
}
}
}
+106
View File
@@ -0,0 +1,106 @@
{
"name": "shellscript",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"engines": {
"vscode": "*"
},
"scripts": {
"update-grammar": "node ../node_modules/vscode-grammar-updater/bin jeff-hykin/better-shell-syntax autogenerated/shell.tmLanguage.json ./syntaxes/shell-unix-bash.tmLanguage.json"
},
"categories": ["Programming Languages"],
"contributes": {
"languages": [
{
"id": "shellscript",
"aliases": [
"Shell Script",
"shellscript",
"bash",
"fish",
"sh",
"zsh",
"ksh",
"csh"
],
"extensions": [
".sh",
".bash",
".bashrc",
".bash_aliases",
".bash_profile",
".bash_login",
".ebuild",
".eclass",
".profile",
".bash_logout",
".xprofile",
".xsession",
".xsessionrc",
".Xsession",
".zsh",
".zshrc",
".zprofile",
".zlogin",
".zlogout",
".zshenv",
".zsh-theme",
".fish",
".ksh",
".csh",
".cshrc",
".tcshrc",
".yashrc",
".yash_profile"
],
"filenames": [
"APKBUILD",
"PKGBUILD",
".envrc",
".hushlogin",
"zshrc",
"zshenv",
"zlogin",
"zprofile",
"zlogout",
"bashrc_Apple_Terminal",
"zshrc_Apple_Terminal"
],
"filenamePatterns": [
".env.*"
],
"firstLine": "^#!.*\\b(bash|fish|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",
"balancedBracketScopes": [
"*"
],
"unbalancedBracketScopes": [
"meta.scope.case-pattern.shell"
]
}
],
"configurationDefaults": {
"[shellscript]": {
"files.eol": "\n",
"editor.defaultColorDecorators": "never"
}
}
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}
+4
View File
@@ -0,0 +1,4 @@
{
"displayName": "Shell Script Language Basics",
"description": "Provides syntax highlighting and bracket matching in Shell Script files."
}
File diff suppressed because it is too large Load Diff