Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update grammars #224167

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extensions/fsharp/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"git": {
"name": "ionide/ionide-fsgrammar",
"repositoryUrl": "https://github.com/ionide/ionide-fsgrammar",
"commitHash": "0100f551f6c32598a58aba97344bf828673fec7a"
"commitHash": "7d1b695da917dc4c7a0f7fb4683f42da208f87a2"
}
},
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions extensions/fsharp/syntaxes/fsharp.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/ionide/ionide-fsgrammar/commit/0100f551f6c32598a58aba97344bf828673fec7a",
"version": "https://github.com/ionide/ionide-fsgrammar/commit/7d1b695da917dc4c7a0f7fb4683f42da208f87a2",
"name": "fsharp",
"scopeName": "source.fsharp",
"patterns": [
Expand Down Expand Up @@ -841,7 +841,7 @@
"name": "keyword.symbol.fsharp"
}
},
"end": "(\\)\\s*(([?[:alpha:]0-9'`^._ ]+))+)",
"end": "(\\)\\s*(([?[:alpha:]0-9'`^._ ]+))*)",
"endCaptures": {
"1": {
"name": "keyword.symbol.fsharp"
Expand Down
4 changes: 2 additions & 2 deletions extensions/julia/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"git": {
"name": "JuliaEditorSupport/atom-language-julia",
"repositoryUrl": "https://github.com/JuliaEditorSupport/atom-language-julia",
"commitHash": "663bf8d943fd8440f4ae7565f73327dd616bf191"
"commitHash": "c686684f18153687886e7d19c1bfc3a33076b1ab"
}
},
"license": "MIT",
"version": "0.22.1"
"version": "0.23.0"
}
],
"version": 1
Expand Down
4 changes: 2 additions & 2 deletions extensions/julia/syntaxes/julia.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/JuliaEditorSupport/atom-language-julia/commit/663bf8d943fd8440f4ae7565f73327dd616bf191",
"version": "https://github.com/JuliaEditorSupport/atom-language-julia/commit/c686684f18153687886e7d19c1bfc3a33076b1ab",
"name": "Julia",
"scopeName": "source.julia",
"comment": "This grammar is used by Atom (Oniguruma), GitHub (PCRE), and VSCode (Oniguruma),\nso all regexps must be compatible with both engines.\n\nSpecs:\n- https://github.com/kkos/oniguruma/blob/master/doc/RE\n- https://www.pcre.org/current/doc/html/",
Expand Down Expand Up @@ -333,7 +333,7 @@
"name": "keyword.control.using.julia"
},
{
"match": "(?<=\\w\\s)\\b(as)\\b(?=\\s\\w)",
"match": "(?<=\\S\\s+)\\b(as)\\b(?=\\s+\\S)",
"name": "keyword.control.as.julia"
},
{
Expand Down
2 changes: 1 addition & 1 deletion extensions/latex/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"git": {
"name": "jlelong/vscode-latex-basics",
"repositoryUrl": "https://github.com/jlelong/vscode-latex-basics",
"commitHash": "5d7c2a4e451a932b776f6d9342087be6a1e8c0a1"
"commitHash": "969429cb9230a63f9155987f069acd4234d10e1a"
}
},
"license": "MIT",
Expand Down
143 changes: 107 additions & 36 deletions extensions/latex/syntaxes/LaTeX.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/jlelong/vscode-latex-basics/commit/9cd6bc151f4b9df5d9aeb1e39e30071018d3cb2a",
"version": "https://github.com/jlelong/vscode-latex-basics/commit/969429cb9230a63f9155987f069acd4234d10e1a",
"name": "LaTeX",
"scopeName": "text.tex.latex",
"patterns": [
Expand Down Expand Up @@ -94,7 +94,7 @@
"4": {
"patterns": [
{
"include": "#optional-arg"
"include": "#optional-arg-bracket"
}
]
},
Expand Down Expand Up @@ -1900,7 +1900,7 @@
"3": {
"patterns": [
{
"include": "#optional-arg"
"include": "#optional-arg-bracket"
}
]
},
Expand All @@ -1910,7 +1910,7 @@
"5": {
"patterns": [
{
"include": "#optional-arg"
"include": "#optional-arg-bracket"
}
]
},
Expand Down Expand Up @@ -2368,7 +2368,7 @@
"3": {
"patterns": [
{
"include": "#optional-arg"
"include": "#optional-arg-bracket"
}
]
},
Expand Down Expand Up @@ -2404,7 +2404,7 @@
"3": {
"patterns": [
{
"include": "#optional-arg"
"include": "#optional-arg-bracket"
}
]
},
Expand Down Expand Up @@ -2562,7 +2562,7 @@
"name": "meta.scope.item.latex"
},
{
"begin": "((\\\\)(?:[aA]uto|foot|full|no|ref|short|[tT]ext|[pP]aren|[sS]mart)?[cC]ite(?:al)?(?:p|s|t|author|year(?:par)?|title)?[ANP]*\\*?)((?:(?:\\([^\\)]*\\)){0,2}(?:\\[[^\\]]*\\]){0,2}\\{[\\p{Alphabetic}:.]*\\})*)(?:([<\\[])[^\\]<>]*([>\\]]))?(?:(\\[)[^\\]]*(\\]))?(\\{)",
"begin": "((\\\\)(?:[aA]uto|foot|full|no|ref|short|[tT]ext|[pP]aren|[sS]mart)?[cC]ite(?:al)?(?:p|s|t|author|year(?:par)?|title)?[ANP]*\\*?)((?:(?:\\([^\\)]*\\)){0,2}(?:\\[[^\\]]*\\]){0,2}\\{[\\p{Alphabetic}\\p{Number}_:.-]*\\})*)(<[^\\]<>]*>)?((?:\\[[^\\]]*\\])*)(\\{)",
"captures": {
"1": {
"name": "keyword.control.cite.latex"
Expand All @@ -2578,18 +2578,20 @@
]
},
"4": {
"name": "punctuation.definition.arguments.optional.begin.latex"
"patterns": [
{
"include": "#optional-arg-angle-no-highlight"
}
]
},
"5": {
"name": "punctuation.definition.arguments.optional.end.latex"
"patterns": [
{
"include": "#optional-arg-bracket-no-highlight"
}
]
},
"6": {
"name": "punctuation.definition.arguments.optional.begin.latex"
},
"7": {
"name": "punctuation.definition.arguments.optional.end.latex"
},
"8": {
"name": "punctuation.definition.arguments.begin.latex"
}
},
Expand All @@ -2602,15 +2604,15 @@
"name": "meta.citation.latex",
"patterns": [
{
"match": "((%).*)$",
"captures": {
"1": {
"name": "comment.line.percentage.tex"
},
"2": {
"name": "punctuation.definition.comment.tex"
}
},
"match": "((%).*)$"
}
},
{
"match": "[\\p{Alphabetic}\\p{Number}:.-]+",
Expand Down Expand Up @@ -2740,7 +2742,7 @@
"3": {
"patterns": [
{
"include": "#optional-arg"
"include": "#optional-arg-bracket"
}
]
},
Expand Down Expand Up @@ -2783,7 +2785,7 @@
"3": {
"patterns": [
{
"include": "#optional-arg"
"include": "#optional-arg-bracket"
}
]
},
Expand Down Expand Up @@ -2820,7 +2822,7 @@
"3": {
"patterns": [
{
"include": "#optional-arg"
"include": "#optional-arg-bracket"
}
]
},
Expand Down Expand Up @@ -2867,7 +2869,7 @@
"3": {
"patterns": [
{
"include": "#optional-arg"
"include": "#optional-arg-bracket"
}
]
},
Expand Down Expand Up @@ -3048,7 +3050,7 @@
"name": "punctuation.definition.variable.latex"
}
},
"match": "(\\\\)[cgl](?:[_\\p{Alphabetic}@]+)+_[a-z]+",
"match": "(\\\\)(?:[cgl]_+[_\\p{Alphabetic}@]+_[a-z]+|[qs]_[_\\p{Alphabetic}@]+[\\p{Alphabetic}@])",
"name": "variable.other.latex3.latex"
},
{
Expand All @@ -3073,35 +3075,37 @@
{
"captures": {
"1": {
"name": "punctuation.definition.arguments.optional.begin.latex"
"patterns": [
{
"include": "#optional-arg-parenthesis-no-highlight"
}
]
},
"2": {
"name": "punctuation.definition.arguments.optional.end.latex"
"patterns": [
{
"include": "#optional-arg-bracket-no-highlight"
}
]
},
"3": {
"name": "punctuation.definition.arguments.optional.begin.latex"
},
"4": {
"name": "punctuation.definition.arguments.optional.end.latex"
},
"5": {
"name": "punctuation.definition.arguments.begin.latex"
},
"6": {
"4": {
"name": "constant.other.reference.citation.latex"
},
"7": {
"5": {
"name": "punctuation.definition.arguments.end.latex"
},
"8": {
"6": {
"patterns": [
{
"include": "#autocites-arg"
}
]
}
},
"match": "(?:(\\()[^\\)]*(\\))){0,2}(?:(\\[)[^\\]]*(\\])){0,2}(\\{)([\\p{Alphabetic}\\p{Number}:.]+)(\\})(.*)"
"match": "((?:\\([^\\)]*\\)){0,2})((?:\\[[^\\]]*\\]){0,2})(\\{)([\\p{Alphabetic}\\p{Number}_:.-]+)(\\})(.*)"
}
]
},
Expand Down Expand Up @@ -3159,7 +3163,7 @@
"3": {
"patterns": [
{
"include": "#optional-arg"
"include": "#optional-arg-bracket"
}
]
},
Expand Down Expand Up @@ -3222,7 +3226,7 @@
}
]
},
"optional-arg": {
"optional-arg-bracket": {
"patterns": [
{
"captures": {
Expand All @@ -3240,6 +3244,73 @@
"name": "meta.parameter.optional.latex"
}
]
},
"optional-arg-parenthesis": {
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.definition.arguments.optional.begin.latex"
},
"2": {
"name": "variable.parameter.function.latex"
},
"3": {
"name": "punctuation.definition.arguments.optional.end.latex"
}
},
"match": "(\\()([^\\(]*?)(\\))",
"name": "meta.parameter.optional.latex"
}
]
},
"optional-arg-bracket-no-highlight": {
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.definition.arguments.optional.begin.latex"
},
"2": {
"name": "punctuation.definition.arguments.optional.end.latex"
}
},
"match": "(\\[)[^\\[]*?(\\])",
"name": "meta.parameter.optional.latex"
}
]
},
"optional-arg-angle-no-highlight": {
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.definition.arguments.optional.begin.latex"
},
"2": {
"name": "punctuation.definition.arguments.optional.end.latex"
}
},
"match": "(<)[^<]*?(>)",
"name": "meta.parameter.optional.latex"
}
]
},
"optional-arg-parenthesis-no-highlight": {
"patterns": [
{
"captures": {
"1": {
"name": "punctuation.definition.arguments.optional.begin.latex"
},
"2": {
"name": "punctuation.definition.arguments.optional.end.latex"
}
},
"match": "(\\()[^\\(]*?(\\))",
"name": "meta.parameter.optional.latex"
}
]
}
}
}
2 changes: 1 addition & 1 deletion extensions/less/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"git": {
"name": "language-less",
"repositoryUrl": "https://github.com/radium-v/Better-Less",
"commitHash": "b06a4555c711a6ef0d76cf2b4fc8b929a6ce551a"
"commitHash": "fb9c21917193746433743a7c971b70230b40bc2b"
}
},
"license": "MIT",
Expand Down
Loading
Loading