Update shellscript grammar (#176491)

This commit is contained in:
Alex Ross
2023-03-08 11:18:43 +01:00
committed by GitHub
parent 815295b041
commit 8ca37ee70f
4 changed files with 79 additions and 41 deletions
@@ -603,16 +603,16 @@
},
{
"c": "printf",
"t": "source.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.statement.command.name.shell entity.name.command.shell",
"t": "source.shell meta.scope.if-block.shell meta.statement.shell meta.command.shell meta.statement.command.name.shell entity.name.command.shell support.function.builtin.shell",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
"dark_plus": "support.function: #DCDCAA",
"light_plus": "support.function: #795E26",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "default: #FFFFFF",
"dark_plus_experimental": "default: #CCCCCC",
"hc_light": "default: #292929",
"light_plus_experimental": "default: #3B3B3B"
"hc_black": "support.function: #DCDCAA",
"dark_plus_experimental": "support.function: #DCDCAA",
"hc_light": "support.function: #5E2CBC",
"light_plus_experimental": "support.function: #795E26"
}
},
{
@@ -2030,7 +2030,7 @@
}
},
{
"c": "function ",
"c": "function",
"t": "source.shell meta.function.shell storage.type.function.shell",
"r": {
"dark_plus": "storage.type: #569CD6",
@@ -2043,6 +2043,20 @@
"light_plus_experimental": "storage.type: #0000FF"
}
},
{
"c": " ",
"t": "source.shell meta.function.shell",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
"dark_vs": "default: #D4D4D4",
"light_vs": "default: #000000",
"hc_black": "default: #FFFFFF",
"dark_plus_experimental": "default: #CCCCCC",
"hc_light": "default: #292929",
"light_plus_experimental": "default: #3B3B3B"
}
},
{
"c": "code",
"t": "source.shell meta.function.shell entity.name.function.shell",