Skip to content

Commit 7b69a3c

Browse files
authored
Update grammars (microsoft#154099)
1 parent 866f22e commit 7b69a3c

9 files changed

Lines changed: 138 additions & 84 deletions

File tree

extensions/cpp/cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"git": {
77
"name": "jeff-hykin/better-cpp-syntax",
88
"repositoryUrl": "https://github.com/jeff-hykin/better-cpp-syntax",
9-
"commitHash": "ddcaa65af8a578881e0d38f3c1cf5259a1128ab5"
9+
"commitHash": "924295fc44bde1a00fab60da3a2caca4509adb25"
1010
}
1111
},
1212
"license": "MIT",
13-
"version": "1.15.17",
13+
"version": "1.15.18",
1414
"description": "The original JSON grammars were derived from https://github.com/atom/language-c which was originally converted from the C TextMate bundle https://github.com/textmate/c.tmbundle."
1515
},
1616
{

extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json

Lines changed: 18 additions & 18 deletions
Large diffs are not rendered by default.

extensions/cpp/syntaxes/cpp.tmLanguage.json

Lines changed: 85 additions & 51 deletions
Large diffs are not rendered by default.

extensions/latex/cgmanifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"git": {
77
"name": "jlelong/vscode-latex-basics",
88
"repositoryUrl": "https://github.com/jlelong/vscode-latex-basics",
9-
"commitHash": "8f2c528619535333a2ff12e321fb6f6efcba38e4"
9+
"commitHash": "7b08daed22963695616ef432c9d027427da5f450"
1010
}
1111
},
1212
"license": "MIT",

extensions/latex/syntaxes/LaTeX.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/jlelong/vscode-latex-basics/commit/8f2c528619535333a2ff12e321fb6f6efcba38e4",
7+
"version": "https://github.com/jlelong/vscode-latex-basics/commit/7b08daed22963695616ef432c9d027427da5f450",
88
"name": "LaTeX",
99
"scopeName": "text.tex.latex",
1010
"patterns": [
@@ -815,7 +815,7 @@
815815
"name": "meta.function.end-document.latex"
816816
},
817817
{
818-
"begin": "(?:\\s*)((\\\\)begin)(\\{)((?:array|equation|(?:IEEE)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered|cases|(?:display)?math|[a-zA-Z]*matrix|(?:(?:arg)?(?:mini|maxi)))(?:\\*|!)?)(\\})(\\s*\\n)?",
818+
"begin": "(?:\\s*)((\\\\)begin)(\\{)((?:array|equation|(?:IEEE)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered|cases|(?:display)?math|[a-zA-Z]*matrix|[pbBvV]?NiceMatrix|[pbBvV]?NiceArray|(?:(?:arg)?(?:mini|maxi)))(?:\\*|!)?)(\\})(\\s*\\n)?",
819819
"captures": {
820820
"1": {
821821
"name": "support.function.be.latex"

extensions/log/cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"git": {
77
"name": "vscode-logfile-highlighter",
88
"repositoryUrl": "https://github.com/emilast/vscode-logfile-highlighter",
9-
"commitHash": "19807c6a80d29b03ad69e02ffe39e5869a9ce107"
9+
"commitHash": "8acba9307254d1887ac770057767698c82d926c6"
1010
}
1111
},
1212
"license": "MIT",
13-
"version": "2.11.0"
13+
"version": "2.15.0"
1414
}
1515
],
1616
"version": 1

extensions/log/syntaxes/log.tmLanguage.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/emilast/vscode-logfile-highlighter/commit/19807c6a80d29b03ad69e02ffe39e5869a9ce107",
7+
"version": "https://github.com/emilast/vscode-logfile-highlighter/commit/8acba9307254d1887ac770057767698c82d926c6",
88
"name": "Log file",
99
"scopeName": "text.log",
1010
"patterns": [
@@ -96,6 +96,10 @@
9696
"match": "\\b([0-9]+|true|false|null)\\b",
9797
"name": "constant.language log.constant"
9898
},
99+
{
100+
"match": "\\b(0x[a-fA-F0-9]+)\\b",
101+
"name": "constant.language log.constant"
102+
},
99103
{
100104
"match": "\"[^\"]*\"",
101105
"name": "string log.string"

extensions/sql/cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"git": {
77
"name": "microsoft/vscode-mssql",
88
"repositoryUrl": "https://github.com/microsoft/vscode-mssql",
9-
"commitHash": "c98518dd7418ddfb6f35676e14cf12791b0a235d"
9+
"commitHash": "b8b58864526c048002b7c3964bdac8aac3713bd9"
1010
}
1111
},
1212
"license": "MIT",
13-
"version": "1.10.1"
13+
"version": "1.16.0"
1414
}
1515
],
1616
"version": 1

extensions/sql/syntaxes/sql.tmLanguage.json

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/microsoft/vscode-mssql/commit/c98518dd7418ddfb6f35676e14cf12791b0a235d",
7+
"version": "https://github.com/microsoft/vscode-mssql/commit/b8b58864526c048002b7c3964bdac8aac3713bd9",
88
"name": "SQL",
99
"scopeName": "source.sql",
1010
"patterns": [
@@ -191,7 +191,7 @@
191191
"name": "keyword.operator.concatenator.sql"
192192
},
193193
{
194-
"match": "(?i)\\b(avg|checksum_agg|count|count_big|grouping|grouping_id|max|min|sum|stdev|stdevp|var|varp)\\b",
194+
"match": "(?i)\\b(aggregate|approx_count_distinct|avg|checksum_agg|count|count_big|grouping|grouping_id|max|min|sum|stdev|stdevp|var|varp)\\b",
195195
"name": "support.function.aggregate.sql"
196196
},
197197
{
@@ -202,14 +202,26 @@
202202
"match": "(?i)\\b(cast|convert|parse|try_cast|try_convert|try_parse)\\b",
203203
"name": "support.function.conversion.sql"
204204
},
205+
{
206+
"match": "(?i)\\b(collationproperty|tertiary_weights)\\b",
207+
"name": "support.function.collation.sql"
208+
},
209+
{
210+
"match": "(?i)\\b(asymkey_id|asymkeyproperty|certproperty|cert_id|crypt_gen_random|decryptbyasymkey|decryptbycert|decryptbykey|decryptbykeyautoasymkey|decryptbykeyautocert|decryptbypassphrase|encryptbyasymkey|encryptbycert|encryptbykey|encryptbypassphrase|hashbytes|is_objectsigned|key_guid|key_id|key_name|signbyasymkey|signbycert|symkeyproperty|verifysignedbycert|verifysignedbyasymkey)\\b",
211+
"name": "support.function.cryptographic.sql"
212+
},
205213
{
206214
"match": "(?i)\\b(cursor_status)\\b",
207215
"name": "support.function.cursor.sql"
208216
},
209217
{
210-
"match": "(?i)\\b(sysdatetime|sysdatetimeoffset|sysutcdatetime|current_time(stamp)?|getdate|getutcdate|datename|datepart|day|month|year|datefromparts|datetime2fromparts|datetimefromparts|datetimeoffsetfromparts|smalldatetimefromparts|timefromparts|datediff|dateadd|eomonth|switchoffset|todatetimeoffset|isdate)\\b",
218+
"match": "(?i)\\b(sysdatetime|sysdatetimeoffset|sysutcdatetime|current_time(stamp)?|getdate|getutcdate|datename|datepart|day|month|year|datefromparts|datetime2fromparts|datetimefromparts|datetimeoffsetfromparts|smalldatetimefromparts|timefromparts|datediff|dateadd|eomonth|switchoffset|todatetimeoffset|isdate|date_bucket)\\b",
211219
"name": "support.function.datetime.sql"
212220
},
221+
{
222+
"match": "(?i)\\b(datalength|ident_current|ident_incr|ident_seed|identity|sql_variant_property)\\b",
223+
"name": "support.function.datatype.sql"
224+
},
213225
{
214226
"match": "(?i)\\b(coalesce|nullif)\\b",
215227
"name": "support.function.expression.sql"
@@ -219,7 +231,11 @@
219231
"name": "support.function.globalvar.sql"
220232
},
221233
{
222-
"match": "(?i)\\b(choose|iif)\\b",
234+
"match": "(?i)\\b(json|isjson|json_object|json_array|json_value|json_query|json_modify|json_path_exists)\\b",
235+
"name": "support.function.json.sql"
236+
},
237+
{
238+
"match": "(?i)\\b(choose|iif|greatest|least)\\b",
223239
"name": "support.function.logical.sql"
224240
},
225241
{
@@ -235,7 +251,7 @@
235251
"name": "support.function.ranking.sql"
236252
},
237253
{
238-
"match": "(?i)\\b(opendatasource|openrowset|openquery|openxml)\\b",
254+
"match": "(?i)\\b(generate_series|opendatasource|openjson|openrowset|openquery|openxml|predict|string_split)\\b",
239255
"name": "support.function.rowset.sql"
240256
},
241257
{

0 commit comments

Comments
 (0)