Update grammars

This commit is contained in:
Alex Ross 2019-02-04 16:35:48 +01:00
parent 8f95df52e1
commit 6e968190df
28 changed files with 205 additions and 40 deletions

View file

@ -6,11 +6,11 @@
"git": {
"name": "mmims/language-batchfile",
"repositoryUrl": "https://github.com/mmims/language-batchfile",
"commitHash": "4b67596631b4ecd2c89c2ec1b2e08a6623438903"
"commitHash": "95ea8c699f7a8296b15767069868532d52631c46"
}
},
"license": "MIT",
"version": "0.7.4"
"version": "0.7.5"
}
],
"version": 1

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/mmims/language-batchfile/commit/4b67596631b4ecd2c89c2ec1b2e08a6623438903",
"version": "https://github.com/mmims/language-batchfile/commit/95ea8c699f7a8296b15767069868532d52631c46",
"name": "Batch File",
"scopeName": "source.batchfile",
"patterns": [
@ -46,7 +46,7 @@
"commands": {
"patterns": [
{
"match": "(?<=^|[\\s@])(?i:adprep|append|arp|assoc|at|atmadm|attrib|auditpol|autochk|autoconv|autofmt|bcdboot|bcdedit|bdehdcfg|bitsadmin|bootcfg|brea|cacls|cd|certreq|certutil|change|chcp|chdir|chglogon|chgport|chgusr|chkdsk|chkntfs|choice|cipher|clip|cls|clscluadmin|cluster|cmd|cmdkey|cmstp|color|comp|compact|convert|copy|cprofile|cscript|csvde|date|dcdiag|dcgpofix|dcpromo|defra|del|dfscmd|dfsdiag|dfsrmig|diantz|dir|dirquota|diskcomp|diskcopy|diskpart|diskperf|diskraid|diskshadow|dispdiag|doin|dnscmd|doskey|driverquery|dsacls|dsadd|dsamain|dsdbutil|dsget|dsmgmt|dsmod|dsmove|dsquery|dsrm|edit|endlocal|eraseesentutl|eventcreate|eventquery|eventtriggers|evntcmd|expand|extract|fc|filescrn|find|findstr|finger|flattemp|fonde|forfiles|format|freedisk|fsutil|ftp|ftype|fveupdate|getmac|gettype|gpfixup|gpresult|gpupdate|graftabl|hashgen|hep|helpctr|hostname|icacls|iisreset|inuse|ipconfig|ipxroute|irftp|ismserv|jetpack|klist|ksetup|ktmutil|ktpass|label|ldifd|ldp|lodctr|logman|logoff|lpq|lpr|macfile|makecab|manage-bde|mapadmin|md|mkdir|mklink|mmc|mode|more|mount|mountvol|move|mqbup|mqsvc|mqtgsvc|msdt|msg|msiexec|msinfo32|mstsc|nbtstat|net computer|net group|net localgroup|net print|net session|net share|net start|net stop|net use|net user|net view|net|netcfg|netdiag|netdom|netsh|netstat|nfsadmin|nfsshare|nfsstat|nlb|nlbmgr|nltest|nslookup|ntackup|ntcmdprompt|ntdsutil|ntfrsutl|openfiles|pagefileconfig|path|pathping|pause|pbadmin|pentnt|perfmon|ping|pnpunatten|pnputil|popd|powercfg|powershell|powershell_ise|print|prncnfg|prndrvr|prnjobs|prnmngr|prnport|prnqctl|prompt|pubprn|pushd|pushprinterconnections|pwlauncher|qappsrv|qprocess|query|quser|qwinsta|rasdial|rcp|rd|rdpsign|regentc|recover|redircmp|redirusr|reg|regini|regsvr32|relog|ren|rename|rendom|repadmin|repair-bde|replace|reset session|rxec|risetup|rmdir|robocopy|route|rpcinfo|rpcping|rsh|runas|rundll32|rwinsta|sc|schtasks|scwcmd|secedit|serverceipoptin|servrmanagercmd|serverweroptin|setspn|setx|sfc|shadow|shift|showmount|shutdown|sort|start|storrept|subst|sxstrace|ysocmgr|systeminfo|takeown|tapicfg|taskkill|tasklist|tcmsetup|telnet|tftp|time|timeout|title|tlntadmn|tpmvscmgr|tpmvscmgr|tacerpt|tracert|tree|tscon|tsdiscon|tsecimp|tskill|tsprof|type|typeperf|tzutil|uddiconfig|umount|unlodctr|ver|verifier|verif|vol|vssadmin|w32tm|waitfor|wbadmin|wdsutil|wecutil|wevtutil|where|whoami|winnt|winnt32|winpop|winrm|winrs|winsat|wlbs|mic|wscript|xcopy)(?=$|\\s)",
"match": "(?<=^|[\\s@])(?i:adprep|append|arp|assoc|at|atmadm|attrib|auditpol|autochk|autoconv|autofmt|bcdboot|bcdedit|bdehdcfg|bitsadmin|bootcfg|brea|cacls|cd|certreq|certutil|change|chcp|chdir|chglogon|chgport|chgusr|chkdsk|chkntfs|choice|cipher|clip|cls|clscluadmin|cluster|cmd|cmdkey|cmstp|color|comp|compact|convert|copy|cprofile|cscript|csvde|date|dcdiag|dcgpofix|dcpromo|defra|del|dfscmd|dfsdiag|dfsrmig|diantz|dir|dirquota|diskcomp|diskcopy|diskpart|diskperf|diskraid|diskshadow|dispdiag|doin|dnscmd|doskey|driverquery|dsacls|dsadd|dsamain|dsdbutil|dsget|dsmgmt|dsmod|dsmove|dsquery|dsrm|edit|endlocal|eraseesentutl|eventcreate|eventquery|eventtriggers|evntcmd|expand|extract|fc|filescrn|find|findstr|finger|flattemp|fonde|forfiles|format|freedisk|fsutil|ftp|ftype|fveupdate|getmac|gettype|gpfixup|gpresult|gpupdate|graftabl|hashgen|hep|helpctr|hostname|icacls|iisreset|inuse|ipconfig|ipxroute|irftp|ismserv|jetpack|klist|ksetup|ktmutil|ktpass|label|ldifd|ldp|lodctr|logman|logoff|lpq|lpr|macfile|makecab|manage-bde|mapadmin|md|mkdir|mklink|mmc|mode|more|mount|mountvol|move|mqbup|mqsvc|mqtgsvc|msdt|msg|msiexec|msinfo32|mstsc|nbtstat|net computer|net group|net localgroup|net print|net session|net share|net start|net stop|net use|net user|net view|net|netcfg|netdiag|netdom|netsh|netstat|nfsadmin|nfsshare|nfsstat|nlb|nlbmgr|nltest|nslookup|ntackup|ntcmdprompt|ntdsutil|ntfrsutl|openfiles|pagefileconfig|path|pathping|pause|pbadmin|pentnt|perfmon|ping|pnpunatten|pnputil|popd|powercfg|powershell|powershell_ise|print|prncnfg|prndrvr|prnjobs|prnmngr|prnport|prnqctl|prompt|pubprn|pushd|pushprinterconnections|pwlauncher|qappsrv|qprocess|query|quser|qwinsta|rasdial|rcp|rd|rdpsign|regentc|recover|redircmp|redirusr|reg|regini|regsvr32|relog|ren|rename|rendom|repadmin|repair-bde|replace|reset session|rxec|risetup|rmdir|robocopy|route|rpcinfo|rpcping|rsh|runas|rundll32|rwinsta|scp|sc|schtasks|scwcmd|secedit|serverceipoptin|servrmanagercmd|serverweroptin|setspn|setx|sfc|shadow|shift|showmount|shutdown|sort|ssh|start|storrept|subst|sxstrace|ysocmgr|systeminfo|takeown|tapicfg|taskkill|tasklist|tcmsetup|telnet|tftp|time|timeout|title|tlntadmn|tpmvscmgr|tpmvscmgr|tacerpt|tracert|tree|tscon|tsdiscon|tsecimp|tskill|tsprof|type|typeperf|tzutil|uddiconfig|umount|unlodctr|ver|verifier|verif|vol|vssadmin|w32tm|waitfor|wbadmin|wdsutil|wecutil|wevtutil|where|whoami|winnt|winnt32|winpop|winrm|winrs|winsat|wlbs|mic|wscript|xcopy)(?=$|\\s)",
"name": "keyword.command.batchfile"
},
{

View file

@ -6,11 +6,11 @@
"git": {
"name": "atom/language-c",
"repositoryUrl": "https://github.com/atom/language-c",
"commitHash": "9c0c5f202741a5647025db8d5df5fefba47b036c"
"commitHash": "3a269f88b12e512fb9495dc006a1dabf325d3d7f"
}
},
"license": "MIT",
"version": "0.58.1",
"version": "0.58.0",
"description": "The files syntaxes/c.json and syntaxes/c++.json were derived from the Atom package https://atom.io/packages/language-c which was originally converted from the C TextMate bundle https://github.com/textmate/c.tmbundle."
},
{

View file

@ -15,4 +15,4 @@
}
],
"version": 1
}
}

View file

@ -6,7 +6,7 @@
"git": {
"name": "ionide/ionide-fsgrammar",
"repositoryUrl": "https://github.com/ionide/ionide-fsgrammar",
"commitHash": "24c1588529af144d205f66fbcec6889500f9aaa9"
"commitHash": "be0bdfd1e272b6633f5edf1429052fe9fa4df7c1"
}
},
"license": "MIT",
@ -15,4 +15,4 @@
}
],
"version": 1
}
}

View file

@ -63,4 +63,4 @@
}
],
"version": 1
}
}

View file

@ -29,4 +29,4 @@
}
],
"version": 1
}
}

View file

@ -14,4 +14,4 @@
}
],
"version": 1
}
}

View file

@ -29,4 +29,4 @@
}
],
"version": 1
}
}

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/textmate/html.tmbundle/commit/390c8870273a2ae80244dae6db6ba064a802f407",
"version": "https://github.com/textmate/html.tmbundle/commit/0c3d5ee54de3a993f747f54186b73a4d2d3c44a2",
"name": "HTML",
"scopeName": "text.html.basic",
"injections": {
@ -222,7 +222,32 @@
]
}
},
"match": "[^\\n\"]+"
"match": "([^\\n\"/]|/(?![/*]))+"
},
{
"begin": "//",
"beginCaptures": {
"0": {
"name": "punctuation.definition.comment.js"
}
},
"end": "(?=\")|\\n",
"name": "comment.line.double-slash.js"
},
{
"begin": "/\\*",
"beginCaptures": {
"0": {
"name": "punctuation.definition.comment.begin.js"
}
},
"end": "(?=\")|\\*/",
"endCaptures": {
"0": {
"name": "punctuation.definition.comment.end.js"
}
},
"name": "comment.block.js"
}
]
},
@ -255,7 +280,32 @@
]
}
},
"match": "[^\\n']+"
"match": "([^\\n'/]|/(?![/*]))+"
},
{
"begin": "//",
"beginCaptures": {
"0": {
"name": "punctuation.definition.comment.js"
}
},
"end": "(?=')|\\n",
"name": "comment.line.double-slash.js"
},
{
"begin": "/\\*",
"beginCaptures": {
"0": {
"name": "punctuation.definition.comment.begin.js"
}
},
"end": "(?=')|\\*/",
"endCaptures": {
"0": {
"name": "punctuation.definition.comment.end.js"
}
},
"name": "comment.block.js"
}
]
}

View file

@ -29,4 +29,4 @@
}
],
"version": 1
}
}

View file

@ -6,7 +6,7 @@
"git": {
"name": "atom/language-java",
"repositoryUrl": "https://github.com/atom/language-java",
"commitHash": "7c3d0d3e37920790cd3afb4e68830bdb215851a3"
"commitHash": "f6d349a5ca698be25d3f48511888fe62d158e42c"
}
},
"license": "MIT",

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/atom/language-java/commit/7c3d0d3e37920790cd3afb4e68830bdb215851a3",
"version": "https://github.com/atom/language-java/commit/f6d349a5ca698be25d3f48511888fe62d158e42c",
"name": "Java",
"scopeName": "source.java",
"patterns": [
@ -640,6 +640,42 @@
},
"name": "meta.enum.java",
"patterns": [
{
"begin": "\\b(extends)\\b",
"beginCaptures": {
"1": {
"name": "storage.modifier.extends.java"
}
},
"end": "(?={|\\bimplements\\b)",
"name": "meta.definition.class.inherited.classes.java",
"patterns": [
{
"include": "#object-types-inherited"
},
{
"include": "#comments"
}
]
},
{
"begin": "\\b(implements)\\b",
"beginCaptures": {
"1": {
"name": "storage.modifier.implements.java"
}
},
"end": "(?={|\\bextends\\b)",
"name": "meta.definition.class.implemented.interfaces.java",
"patterns": [
{
"include": "#object-types-inherited"
},
{
"include": "#comments"
}
]
},
{
"begin": "{",
"beginCaptures": {
@ -1468,6 +1504,9 @@
{
"include": "#comments"
},
{
"include": "#storage-modifiers"
},
{
"match": "\\|",
"name": "punctuation.catch.separator.java"

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/444971648e9e1e41c54c62f41d1310f2816965c4",
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/a42e5cbe14945ccc0493f62b1e2d63eddcdaa6f6",
"name": "JavaScript (with React support)",
"scopeName": "source.js",
"patterns": [
@ -1581,7 +1581,7 @@
"include": "#parameter-name"
},
{
"include": "#type-annotation"
"include": "#parameter-type-annotation"
},
{
"include": "#variable-initializer"
@ -3579,6 +3579,25 @@
}
]
},
"parameter-type-annotation": {
"patterns": [
{
"name": "meta.type.annotation.js",
"begin": "(:)",
"beginCaptures": {
"1": {
"name": "keyword.operator.type.annotation.js"
}
},
"end": "(?=[,)])|(?==[^>])",
"patterns": [
{
"include": "#type"
}
]
}
]
},
"return-type": {
"patterns": [
{

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/444971648e9e1e41c54c62f41d1310f2816965c4",
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/a42e5cbe14945ccc0493f62b1e2d63eddcdaa6f6",
"name": "JavaScript (with React support)",
"scopeName": "source.js.jsx",
"patterns": [
@ -1581,7 +1581,7 @@
"include": "#parameter-name"
},
{
"include": "#type-annotation"
"include": "#parameter-type-annotation"
},
{
"include": "#variable-initializer"
@ -3579,6 +3579,25 @@
}
]
},
"parameter-type-annotation": {
"patterns": [
{
"name": "meta.type.annotation.js.jsx",
"begin": "(:)",
"beginCaptures": {
"1": {
"name": "keyword.operator.type.annotation.js.jsx"
}
},
"end": "(?=[,)])|(?==[^>])",
"patterns": [
{
"include": "#type"
}
]
}
]
},
"return-type": {
"patterns": [
{

View file

@ -14,4 +14,4 @@
}
],
"version": 1
}
}

View file

@ -29,4 +29,4 @@
}
],
"version": 1
}
}

View file

@ -30,4 +30,4 @@
}
],
"version": 1
}
}

View file

@ -6,11 +6,11 @@
"git": {
"name": "language-php",
"repositoryUrl": "https://github.com/atom/language-php",
"commitHash": "13842b6dfb4568f76e8fa0c08dbff74347ee13c6"
"commitHash": "b6c5e83016b52311cdc622c2579462861ee91587"
}
},
"license": "MIT",
"version": "0.43.2"
"version": "0.44.0"
}
],
"version": 1

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/atom/language-php/commit/13842b6dfb4568f76e8fa0c08dbff74347ee13c6",
"version": "https://github.com/atom/language-php/commit/b896ebfb6f669b8714f419527f047466420efe5c",
"scopeName": "source.php",
"patterns": [
{
@ -2696,7 +2696,7 @@
"name": "support.function.com.php"
},
{
"begin": "(?i)\\b(isset|unset|eval|empty|list)\\b",
"match": "(?i)\\b(isset|unset|eval|empty|list)\\b",
"name": "support.function.construct.php"
},
{

View file

@ -15,4 +15,4 @@
}
],
"version": 1
}
}

View file

@ -29,4 +29,4 @@
}
],
"version": 1
}
}

View file

@ -14,4 +14,4 @@
}
],
"version": 1
}
}

View file

@ -6,7 +6,7 @@
"git": {
"name": "TypeScript-TmLanguage",
"repositoryUrl": "https://github.com/Microsoft/TypeScript-TmLanguage",
"commitHash": "444971648e9e1e41c54c62f41d1310f2816965c4"
"commitHash": "a42e5cbe14945ccc0493f62b1e2d63eddcdaa6f6"
}
},
"license": "MIT",

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/444971648e9e1e41c54c62f41d1310f2816965c4",
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/a42e5cbe14945ccc0493f62b1e2d63eddcdaa6f6",
"name": "TypeScript",
"scopeName": "source.ts",
"patterns": [
@ -1578,7 +1578,7 @@
"include": "#parameter-name"
},
{
"include": "#type-annotation"
"include": "#parameter-type-annotation"
},
{
"include": "#variable-initializer"
@ -3628,6 +3628,25 @@
}
]
},
"parameter-type-annotation": {
"patterns": [
{
"name": "meta.type.annotation.ts",
"begin": "(:)",
"beginCaptures": {
"1": {
"name": "keyword.operator.type.annotation.ts"
}
},
"end": "(?=[,)])|(?==[^>])",
"patterns": [
{
"include": "#type"
}
]
}
]
},
"return-type": {
"patterns": [
{

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/444971648e9e1e41c54c62f41d1310f2816965c4",
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/a42e5cbe14945ccc0493f62b1e2d63eddcdaa6f6",
"name": "TypeScriptReact",
"scopeName": "source.tsx",
"patterns": [
@ -1581,7 +1581,7 @@
"include": "#parameter-name"
},
{
"include": "#type-annotation"
"include": "#parameter-type-annotation"
},
{
"include": "#variable-initializer"
@ -3579,6 +3579,25 @@
}
]
},
"parameter-type-annotation": {
"patterns": [
{
"name": "meta.type.annotation.tsx",
"begin": "(:)",
"beginCaptures": {
"1": {
"name": "keyword.operator.type.annotation.tsx"
}
},
"end": "(?=[,)])|(?==[^>])",
"patterns": [
{
"include": "#type"
}
]
}
]
},
"return-type": {
"patterns": [
{

View file

@ -29,4 +29,4 @@
}
],
"version": 1
}
}

View file

@ -34,4 +34,4 @@
}
],
"version": 1
}
}