diff --git a/packages/tm-grammars/README.md b/packages/tm-grammars/README.md index e2d6af6..f01e587 100644 --- a/packages/tm-grammars/README.md +++ b/packages/tm-grammars/README.md @@ -78,7 +78,7 @@ import { grammars } from 'tm-grammars' | `fluent` | `ftl` | [macabeus/vscode-fluent](https://github.com/macabeus/vscode-fluent/blob/8544ea296a7769a359f43ddff4dc4b6c61f5cf59/syntaxes/fluent.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/macabeus/vscode-fluent/master/LICENSE) | | 3.39 kB | | `fortran-fixed-form` | `f` `for` `f77` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/e642012094fc0a7379f204bb4e61243005afb1da/syntaxes/fortran_fixed-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | `fortran-free-form` | 905.00 B | | `fortran-free-form` | `f90` `f95` `f03` `f08` `f18` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/f7fb41579770a0d8c75b9f295d167b31147b4f33/syntaxes/fortran_free-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | | 92.70 kB | -| `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 23.97 kB | +| `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 23.97 kB | | `gdresource` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | `gdshader` `gdscript` | 4.87 kB | | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/5b725b55fd91f751898b2fd2caa669eebd4c0003/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.72 kB | | `gdshader` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDShader.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 5.94 kB | @@ -91,7 +91,7 @@ import { grammars } from 'tm-grammars' | `glimmer-ts` | `gts` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gts.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | `typescript` `css` `javascript` `html` | 19.04 kB | | `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | `c` | 3.69 kB | | `gnuplot` | | [MarioSchwalbe/vscode-gnuplot](https://github.com/MarioSchwalbe/vscode-gnuplot/blob/c62c1a61c9b6b4658b43d76c397dc2ad43523b6a/syntaxes/gnuplot.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/MarioSchwalbe/vscode-gnuplot/master/LICENSE) | | 13.83 kB | -| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 44.64 kB | +| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 44.65 kB | | `graphql` | `gql` | [prisma-labs/vscode-graphql](https://github.com/prisma-labs/vscode-graphql/blob/4569aef2364b42b6acd8188e4a6ca9b0ba3c6a1d/grammars/graphql.json) | [MIT](https://raw.githubusercontent.com/graphql/vscode-graphql/master/LICENSE) | `javascript` `typescript` `jsx` `tsx` | 17.10 kB | | `groovy` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/groovy/syntaxes/groovy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 18.52 kB | | `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/b997653188b127a7261b0d26e7808217f3eb47bb/syntaxes/hack.json) | [MIT](https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md) | `html` `sql` | 80.38 kB | @@ -123,7 +123,7 @@ import { grammars } from 'tm-grammars' | `julia` | `jl` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9473445f7d3dcb5c579f42ece8b6c18c43c63ed3/extensions/julia/syntaxes/julia.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp` `python` `javascript` `r` `sql` | 32.62 kB | | `kotlin` | `kt` `kts` | [fwcd/vscode-kotlin](https://github.com/fwcd/vscode-kotlin/blob/626e20d5c51a4379c4c0ee293aa89e58b5232aec/syntaxes/kotlin.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fwcd/vscode-kotlin/main/LICENSE) | | 8.21 kB | | `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/6e6deead4af243432902869e1767df8a612cffe1/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | 19.60 kB | -| `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9473445f7d3dcb5c579f42ece8b6c18c43c63ed3/extensions/latex/syntaxes/LaTeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `tex` `shellscript` `css` `gnuplot` `haskell` `html` `java` `julia` `javascript` `lua` `python` `ruby` `rust` `typescript` `xml` `yaml` `scala` | 54.74 kB | +| `latex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/latex/syntaxes/LaTeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `tex` `shellscript` `css` `gnuplot` `haskell` `html` `java` `julia` `javascript` `lua` `python` `ruby` `rust` `typescript` `xml` `yaml` `scala` | 54.73 kB | | `lean` | `lean4` | [leanprover/vscode-lean4](https://github.com/leanprover/vscode-lean4/blob/2255bc20c9d28d868d04fb91428652a95cc87a92/vscode-lean4/syntaxes/lean4.json) | [Apache-2.0](https://raw.githubusercontent.com/leanprover/vscode-lean4/master/LICENSE) | | 3.92 kB | | `less` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/less/syntaxes/less.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 96.43 kB | | `liquid` | | [Shopify/liquid-tm-grammar](https://github.com/Shopify/liquid-tm-grammar/blob/909aab5b1d8be374585bd02ef46e0e38d65f2f89/grammars/liquid.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/Shopify/liquid-tm-grammar/main/LICENSE.md) | `html` `css` `json` `javascript` | 15.24 kB | @@ -167,7 +167,7 @@ import { grammars } from 'tm-grammars' | `qml` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/51408001e908800c00ce9f68f66e511545ea29fe/syntaxes/qml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | `javascript` | 4.95 kB | | `qmldir` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/b301e7b18493ba59c4f52e49c3f73b6cd23d4c4b/syntaxes/qmldir.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | | 902.00 B | | `qss` | | [seanwu1105/vscode-qt-for-python](https://github.com/seanwu1105/vscode-qt-for-python/blob/f0a56a97d10f58ab7b4b6e2ab6ce34ca4c9d521d/syntaxes/qss.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/seanwu1105/vscode-qt-for-python/master/LICENSE) | | 7.46 kB | -| `r` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/fa22e9ac36d5d37ef096679927179091ba7f6966/extensions/r/syntaxes/r.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 33.80 kB | +| `r` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/r/syntaxes/r.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 33.69 kB | | `racket` | | [Eugleo/magic-racket](https://github.com/Eugleo/magic-racket/blob/6a4d9934b3ec523162ab0243b5cb0e785316507a/syntaxes/racket.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/Eugleo/magic-racket/master/LICENSE) | | 91.33 kB | | `raku` | `perl6` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/perl/syntaxes/perl6.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 10.04 kB | | `razor` | | [dotnet/razor](https://github.com/dotnet/razor/blob/39159764277f3c80a786d8872eba7730da3d7ef0/src/Razor/src/Microsoft.VisualStudio.RazorExtension/EmbeddedGrammars/aspnetcorerazor.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dotnet/razor/main/LICENSE.txt) | `html` `csharp` | 24.31 kB | @@ -203,7 +203,7 @@ import { grammars } from 'tm-grammars' | `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | 4.65 kB | | `templ` | | [templ-go/templ-vscode](https://github.com/templ-go/templ-vscode/blob/4f85ade86dba0ecabd80fe6e845653a0a4aed5bf/syntaxes/templ.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE) | `go` `javascript` `css` | 22.69 kB | | `terraform` | `tf` `tfvars` | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/terraform.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 12.55 kB | -| `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/b8e3432a0b7dd11ffd0c832fad6a6c51e809013c/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `r` | 8.75 kB | +| `tex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/latex/syntaxes/TeX.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `r` | 8.79 kB | | `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.04 kB | | `ts-tags` | `lit` | - | | `typescript` `es-tag-css` `es-tag-glsl` `es-tag-html` `es-tag-sql` `es-tag-xml` | 121.00 B | | `tsv` | | [mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/blob/00d4c947f1bbe6a4a73599bd97fb31bdfbe262f3/syntaxes/tsv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE) | | 633.00 B | diff --git a/packages/tm-grammars/grammars/fsharp.json b/packages/tm-grammars/grammars/fsharp.json index c040b5a..07bfa93 100644 --- a/packages/tm-grammars/grammars/fsharp.json +++ b/packages/tm-grammars/grammars/fsharp.json @@ -59,7 +59,7 @@ ], "repository": { "abstract_definition": { - "begin": "\\b(static)?\\s+(abstract)\\s+(member)?(\\s+\\[<.*>\\])?\\s*([_A-Za-z0-9,\\._`\\s]+)(<)?", + "begin": "\\b(static\\s+)?(abstract)\\s+(member)?(\\s+\\[<.*>\\])?\\s*([_A-Za-z0-9,\\._`\\s]+)(<)?", "beginCaptures": { "1": { "name": "keyword.fsharp" diff --git a/packages/tm-grammars/grammars/go.json b/packages/tm-grammars/grammars/go.json index 685dcb2..e4a76fd 100644 --- a/packages/tm-grammars/grammars/go.json +++ b/packages/tm-grammars/grammars/go.json @@ -1910,7 +1910,7 @@ } }, "comment": "single type declaration with generics", - "end": "(?:(?<=\\])((?:\\s+)(?:(?:(?:[\\*\\[\\]]+)?(?:<-\\s*)?\\bchan\\b(?:\\s*<-)?\\s*)+)?(?:(?!(?:[\\[\\]\\*]+)?(?:\\bstruct\\b|\\binterface\\b|\\bfunc\\b))[\\w\\.\\-\\*\\[\\]]+(?:\\,\\s+[\\w\\.\\[\\]\\*]+)*))?)", + "end": "(?:(?<=\\])((?:\\s+)(?:=\\s*)?(?:(?:(?:[\\*\\[\\]]+)?(?:<-\\s*)?\\bchan\\b(?:\\s*<-)?\\s*)+)?(?:(?!(?:[\\[\\]\\*]+)?(?:\\bstruct\\b|\\binterface\\b|\\bfunc\\b))[\\w\\.\\-\\*\\[\\]]+(?:\\,\\s*[\\w\\.\\[\\]\\*]+)*))?)", "endCaptures": { "1": { "patterns": [ diff --git a/packages/tm-grammars/grammars/latex.json b/packages/tm-grammars/grammars/latex.json index 1e0eb5b..0647ff5 100644 --- a/packages/tm-grammars/grammars/latex.json +++ b/packages/tm-grammars/grammars/latex.json @@ -1996,7 +1996,7 @@ ] } }, - "contentName": "punctuation.definition.comment.latex", + "contentName": "comment.line.percentage.latex", "end": "(\\\\end\\{\\2\\})", "name": "meta.function.verbatim.latex" }, diff --git a/packages/tm-grammars/grammars/r.json b/packages/tm-grammars/grammars/r.json index edf2cd8..7e6fd55 100644 --- a/packages/tm-grammars/grammars/r.json +++ b/packages/tm-grammars/grammars/r.json @@ -361,14 +361,6 @@ { "match": "\\b([0-9A-Za-z_]+)(?=::)", "name": "entity.namespace.r" - }, - { - "match": "\\b([0-9A-Za-z._]+)\\b", - "name": "variable.other.r" - }, - { - "match": "(`[^`]+`)", - "name": "variable.other.r" } ] }, diff --git a/packages/tm-grammars/grammars/tex.json b/packages/tm-grammars/grammars/tex.json index 2322e74..614477f 100644 --- a/packages/tm-grammars/grammars/tex.json +++ b/packages/tm-grammars/grammars/tex.json @@ -3,7 +3,7 @@ "name": "tex", "patterns": [ { - "begin": "(?<=^\\s*)((\\\\)iffalse)", + "begin": "(?<=^\\s*)((\\\\)iffalse)(?!\\s*[{}]\\s*\\\\fi)", "beginCaptures": { "1": { "name": "keyword.control.tex" @@ -13,7 +13,7 @@ } }, "contentName": "comment.line.percentage.tex", - "end": "(?<=^\\s*)((\\\\)(?:else|fi))", + "end": "((\\\\)(?:else|fi))", "endCaptures": { "1": { "name": "keyword.control.tex" @@ -26,6 +26,9 @@ { "include": "#comment" }, + { + "include": "#braces" + }, { "include": "#conditionals" } diff --git a/packages/tm-grammars/index.js b/packages/tm-grammars/index.js index d25f760..f6b6948 100644 --- a/packages/tm-grammars/index.js +++ b/packages/tm-grammars/index.js @@ -911,13 +911,13 @@ export const grammars = [ embedded: [ 'markdown', ], - lastUpdate: '2024-08-30T20:03:00Z', + lastUpdate: '2024-09-27T08:27:11Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'fsharp', scopeName: 'source.fsharp', - sha: '03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c', - source: 'https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/fsharp/syntaxes/fsharp.tmLanguage.json', + sha: 'e67b1982e1ab318288b8196ad503273dcb168049', + source: 'https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/fsharp/syntaxes/fsharp.tmLanguage.json', }, { byteSize: 4986, @@ -1087,18 +1087,18 @@ export const grammars = [ source: 'https://github.com/MarioSchwalbe/vscode-gnuplot/blob/c62c1a61c9b6b4658b43d76c397dc2ad43523b6a/syntaxes/gnuplot.tmLanguage', }, { - byteSize: 45713, + byteSize: 45723, categories: [ 'general', ], displayName: 'Go', - lastUpdate: '2024-08-30T20:03:00Z', + lastUpdate: '2024-09-27T08:27:11Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'go', scopeName: 'source.go', - sha: '03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c', - source: 'https://github.com/microsoft/vscode/blob/03dc55030b3b2b5c4779d4ac1e2e46cd1f5a6b7c/extensions/go/syntaxes/go.tmLanguage.json', + sha: 'e67b1982e1ab318288b8196ad503273dcb168049', + source: 'https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/go/syntaxes/go.tmLanguage.json', }, { aliases: [ @@ -1617,7 +1617,7 @@ export const grammars = [ source: 'https://github.com/rosshamish/kuskus/blob/6e6deead4af243432902869e1767df8a612cffe1/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json', }, { - byteSize: 56049, + byteSize: 56042, categories: [ 'markup', ], @@ -1641,13 +1641,13 @@ export const grammars = [ 'yaml', 'scala', ], - lastUpdate: '2024-07-29T09:33:03Z', + lastUpdate: '2024-09-27T08:27:11Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'latex', scopeName: 'text.tex.latex', - sha: '9473445f7d3dcb5c579f42ece8b6c18c43c63ed3', - source: 'https://github.com/microsoft/vscode/blob/9473445f7d3dcb5c579f42ece8b6c18c43c63ed3/extensions/latex/syntaxes/LaTeX.tmLanguage.json', + sha: 'e67b1982e1ab318288b8196ad503273dcb168049', + source: 'https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/latex/syntaxes/LaTeX.tmLanguage.json', }, { aliases: [ @@ -2389,18 +2389,18 @@ export const grammars = [ source: 'https://github.com/seanwu1105/vscode-qt-for-python/blob/f0a56a97d10f58ab7b4b6e2ab6ce34ca4c9d521d/syntaxes/qss.tmLanguage.json', }, { - byteSize: 34608, + byteSize: 34499, categories: [ 'data', ], displayName: 'R', - lastUpdate: '2023-10-27T16:35:46Z', + lastUpdate: '2024-09-27T08:27:11Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'r', scopeName: 'source.r', - sha: 'fa22e9ac36d5d37ef096679927179091ba7f6966', - source: 'https://github.com/microsoft/vscode/blob/fa22e9ac36d5d37ef096679927179091ba7f6966/extensions/r/syntaxes/r.tmLanguage.json', + sha: 'e67b1982e1ab318288b8196ad503273dcb168049', + source: 'https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/r/syntaxes/r.tmLanguage.json', }, { byteSize: 93524, @@ -2932,7 +2932,7 @@ export const grammars = [ source: 'https://github.com/hashicorp/syntax/blob/cc2b4d4fe389f14b8a13937f4e0d7b2811b57588/syntaxes/terraform.tmGrammar.json', }, { - byteSize: 8962, + byteSize: 8996, categories: [ 'markup', ], @@ -2940,13 +2940,13 @@ export const grammars = [ embedded: [ 'r', ], - lastUpdate: '2024-05-31T13:09:59Z', + lastUpdate: '2024-09-27T08:27:11Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'tex', scopeName: 'text.tex', - sha: 'b8e3432a0b7dd11ffd0c832fad6a6c51e809013c', - source: 'https://github.com/microsoft/vscode/blob/b8e3432a0b7dd11ffd0c832fad6a6c51e809013c/extensions/latex/syntaxes/TeX.tmLanguage.json', + sha: 'e67b1982e1ab318288b8196ad503273dcb168049', + source: 'https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/latex/syntaxes/TeX.tmLanguage.json', }, { byteSize: 6185, diff --git a/packages/tm-grammars/package.json b/packages/tm-grammars/package.json index e8f49a4..a475a7d 100644 --- a/packages/tm-grammars/package.json +++ b/packages/tm-grammars/package.json @@ -1,7 +1,7 @@ { "name": "tm-grammars", "type": "module", - "version": "1.17.26", + "version": "1.17.27", "description": "Collecton of TextMate grammars in JSON", "author": "Anthony Fu ", "license": "MIT", diff --git a/packages/tm-grammars/raw/fsharp.json b/packages/tm-grammars/raw/fsharp.json index 92ed69e..d018d53 100644 --- a/packages/tm-grammars/raw/fsharp.json +++ b/packages/tm-grammars/raw/fsharp.json @@ -64,7 +64,7 @@ ], "repository": { "abstract_definition": { - "begin": "\\b(static)?\\s+(abstract)\\s+(member)?(\\s+\\[\\<.*\\>\\])?\\s*([_[:alpha:]0-9,\\._`\\s]+)(<)?", + "begin": "\\b(static\\s+)?(abstract)\\s+(member)?(\\s+\\[\\<.*\\>\\])?\\s*([_[:alpha:]0-9,\\._`\\s]+)(<)?", "beginCaptures": { "1": { "name": "keyword.fsharp" @@ -1841,5 +1841,5 @@ } }, "scopeName": "source.fsharp", - "version": "https://github.com/ionide/ionide-fsgrammar/commit/b38420f8569aa662b4862beb407a02e527e866c1" + "version": "https://github.com/ionide/ionide-fsgrammar/commit/c62c78404d0b2c14816aae61ac0688663a5990a3" } diff --git a/packages/tm-grammars/raw/go.json b/packages/tm-grammars/raw/go.json index f3d78d4..b20fbac 100644 --- a/packages/tm-grammars/raw/go.json +++ b/packages/tm-grammars/raw/go.json @@ -1915,7 +1915,7 @@ } }, "comment": "single type declaration with generics", - "end": "(?:(?<=\\])((?:\\s+)(?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:(?!(?:[\\[\\]\\*]+)?(?:\\bstruct\\b|\\binterface\\b|\\bfunc\\b))[\\w\\.\\-\\*\\[\\]]+(?:\\,\\s+[\\w\\.\\[\\]\\*]+)*))?)", + "end": "(?:(?<=\\])((?:\\s+)(?:\\=\\s*)?(?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:(?!(?:[\\[\\]\\*]+)?(?:\\bstruct\\b|\\binterface\\b|\\bfunc\\b))[\\w\\.\\-\\*\\[\\]]+(?:\\,\\s*[\\w\\.\\[\\]\\*]+)*))?)", "endCaptures": { "1": { "patterns": [ @@ -2896,5 +2896,5 @@ } }, "scopeName": "source.go", - "version": "https://github.com/worlpaker/go-syntax/commit/b40fb01f2cf48bc24e6f4030373311b0402b158e" + "version": "https://github.com/worlpaker/go-syntax/commit/ce0d1d19653dc264d8e53f97cb45cc8d1689f221" } diff --git a/packages/tm-grammars/raw/latex.json b/packages/tm-grammars/raw/latex.json index 1880bdc..5ff8cd8 100644 --- a/packages/tm-grammars/raw/latex.json +++ b/packages/tm-grammars/raw/latex.json @@ -2001,7 +2001,7 @@ ] } }, - "contentName": "punctuation.definition.comment.latex", + "contentName": "comment.line.percentage.latex", "end": "(\\\\end\\{\\2\\})", "name": "meta.function.verbatim.latex" }, @@ -3313,5 +3313,5 @@ } }, "scopeName": "text.tex.latex", - "version": "https://github.com/jlelong/vscode-latex-basics/commit/969429cb9230a63f9155987f069acd4234d10e1a" + "version": "https://github.com/jlelong/vscode-latex-basics/commit/59971565a7065dbb617576c04add9d891b056319" } diff --git a/packages/tm-grammars/raw/r.json b/packages/tm-grammars/raw/r.json index a88907a..2e4878a 100644 --- a/packages/tm-grammars/raw/r.json +++ b/packages/tm-grammars/raw/r.json @@ -366,14 +366,6 @@ { "match": "\\b([[:alnum:]_]+)(?=::)", "name": "entity.namespace.r" - }, - { - "match": "\\b([[:alnum:]._]+)\\b", - "name": "variable.other.r" - }, - { - "match": "(`[^`]+`)", - "name": "variable.other.r" } ] }, @@ -639,5 +631,5 @@ } }, "scopeName": "source.r", - "version": "https://github.com/REditorSupport/vscode-R/commit/ad966f3b2de8a83594f90aa5b51f5b569cf02c08" + "version": "https://github.com/REditorSupport/vscode-R/commit/c937cdd39982995d8ee1f1125919f7c2d150b35d" } diff --git a/packages/tm-grammars/raw/tex.json b/packages/tm-grammars/raw/tex.json index f0e685d..8c649b9 100644 --- a/packages/tm-grammars/raw/tex.json +++ b/packages/tm-grammars/raw/tex.json @@ -8,7 +8,7 @@ "name": "tex", "patterns": [ { - "begin": "(?<=^\\s*)((\\\\)iffalse)", + "begin": "(?<=^\\s*)((\\\\)iffalse)(?!\\s*[{}]\\s*\\\\fi)", "beginCaptures": { "1": { "name": "keyword.control.tex" @@ -18,7 +18,7 @@ } }, "contentName": "comment.line.percentage.tex", - "end": "(?<=^\\s*)((\\\\)(?:else|fi))", + "end": "((\\\\)(?:else|fi))", "endCaptures": { "1": { "name": "keyword.control.tex" @@ -31,6 +31,9 @@ { "include": "#comment" }, + { + "include": "#braces" + }, { "include": "#conditionals" } @@ -345,5 +348,5 @@ } }, "scopeName": "text.tex", - "version": "https://github.com/jlelong/vscode-latex-basics/commit/5d7c2a4e451a932b776f6d9342087be6a1e8c0a1" + "version": "https://github.com/jlelong/vscode-latex-basics/commit/df6ef817c932d24da5cc72927344a547e463cc65" }