update-grammars
This commit is contained in:
parent
8046b73066
commit
f474fcb271
|
@ -6,7 +6,7 @@
|
|||
"git": {
|
||||
"name": "ionide/ionide-fsgrammar",
|
||||
"repositoryUrl": "https://github.com/ionide/ionide-fsgrammar",
|
||||
"commitHash": "af2a9a88639f384c6e5d1340d510dc6fb743d514"
|
||||
"commitHash": "af037b23ca4c61b02799957a61cbd05b44355caf"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
|
|
|
@ -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/af2a9a88639f384c6e5d1340d510dc6fb743d514",
|
||||
"version": "https://github.com/ionide/ionide-fsgrammar/commit/af037b23ca4c61b02799957a61cbd05b44355caf",
|
||||
"name": "fsharp",
|
||||
"scopeName": "source.fsharp",
|
||||
"patterns": [
|
||||
|
@ -910,7 +910,7 @@
|
|||
"patterns": [
|
||||
{
|
||||
"name": "binding.fsharp",
|
||||
"begin": "\\b(let mutable|static let mutable|let inline|let|member val|static member inline|static member|default|member|override|let!)(\\s+rec|mutable)?(\\s+\\[\\<.*\\>\\])?\\s*(private|internal|public)?\\s+(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9\\._`\\s]+|(?<=,)\\s)*)?",
|
||||
"begin": "\\b(let mutable|static let mutable|static let|let inline|let|member val|static member inline|static member|default|member|override|let!)(\\s+rec|mutable)?(\\s+\\[\\<.*\\>\\])?\\s*(private|internal|public)?\\s+(\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9\\._]+)*|``[_[:alpha:]]([_[:alpha:]0-9\\._`\\s]+|(?<=,)\\s)*)?",
|
||||
"end": "\\s*(with\\b|=|\\n+=|(?<=\\=))",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
|
@ -1498,7 +1498,7 @@
|
|||
"patterns": [
|
||||
{
|
||||
"name": "variable.other.binding.fsharp",
|
||||
"match": "(``)(.*)(``)",
|
||||
"match": "(``)([^`]*)(``)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "string.quoted.single.fsharp"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"git": {
|
||||
"name": "atom/language-java",
|
||||
"repositoryUrl": "https://github.com/atom/language-java",
|
||||
"commitHash": "0facf7cbe02cda460db1160fd730f2e57bf15c36"
|
||||
"commitHash": "2e179ceac423403eb5bf0eff26884093c3edba6f"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
|
|
|
@ -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/0facf7cbe02cda460db1160fd730f2e57bf15c36",
|
||||
"version": "https://github.com/atom/language-java/commit/2e179ceac423403eb5bf0eff26884093c3edba6f",
|
||||
"name": "Java",
|
||||
"scopeName": "source.java",
|
||||
"patterns": [
|
||||
|
@ -221,22 +221,60 @@
|
|||
"include": "#all-types"
|
||||
},
|
||||
{
|
||||
"begin": "(?<!\\])\\s*({)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.section.inner-class.begin.bracket.curly.java"
|
||||
}
|
||||
},
|
||||
"end": "}",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.section.inner-class.end.bracket.curly.java"
|
||||
}
|
||||
},
|
||||
"name": "meta.inner-class.java",
|
||||
"begin": "(?<=\\))",
|
||||
"end": "(?=;|\\)|\\]|\\.|,|\\?|:|}|\\+|\\-|\\*|\\/(?!\\/|\\*)|%|!|&|\\||\\^|=)",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#class-body"
|
||||
"include": "#comments"
|
||||
},
|
||||
{
|
||||
"begin": "{",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.section.inner-class.begin.bracket.curly.java"
|
||||
}
|
||||
},
|
||||
"end": "}",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.section.inner-class.end.bracket.curly.java"
|
||||
}
|
||||
},
|
||||
"name": "meta.inner-class.java",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#class-body"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "(?<=\\])",
|
||||
"end": "(?=;|\\)|\\]|\\.|,|\\?|:|}|\\+|\\-|\\*|\\/(?!\\/|\\*)|%|!|&|\\||\\^|=)",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#comments"
|
||||
},
|
||||
{
|
||||
"begin": "{",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.section.array-initializer.begin.bracket.curly.java"
|
||||
}
|
||||
},
|
||||
"end": "}",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.section.array-initializer.end.bracket.curly.java"
|
||||
}
|
||||
},
|
||||
"name": "meta.array-initializer.java",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#code"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -419,6 +457,9 @@
|
|||
{
|
||||
"include": "#class"
|
||||
},
|
||||
{
|
||||
"include": "#record"
|
||||
},
|
||||
{
|
||||
"include": "#anonymous-block-and-instance-initializer"
|
||||
},
|
||||
|
@ -1331,7 +1372,7 @@
|
|||
"name": "punctuation.separator.period.java"
|
||||
},
|
||||
"2": {
|
||||
"name": "variable.other.property.java"
|
||||
"name": "variable.other.object.property.java"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -1348,6 +1389,147 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"record": {
|
||||
"begin": "(?=\\w?[\\w\\s]*\\b(?:record)\\s+[\\w$]+)",
|
||||
"end": "}",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.section.class.end.bracket.curly.java"
|
||||
}
|
||||
},
|
||||
"name": "meta.record.java",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#storage-modifiers"
|
||||
},
|
||||
{
|
||||
"include": "#generics"
|
||||
},
|
||||
{
|
||||
"include": "#comments"
|
||||
},
|
||||
{
|
||||
"begin": "(record)\\s+([\\w$]+)(<[\\w$]+>)?(\\()",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "storage.modifier.java"
|
||||
},
|
||||
"2": {
|
||||
"name": "entity.name.type.record.java"
|
||||
},
|
||||
"3": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#generics"
|
||||
}
|
||||
]
|
||||
},
|
||||
"4": {
|
||||
"name": "punctuation.definition.parameters.begin.bracket.round.java"
|
||||
}
|
||||
},
|
||||
"end": "\\)",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.parameters.end.bracket.round.java"
|
||||
}
|
||||
},
|
||||
"name": "meta.record.identifier.java",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#code"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "(implements)\\s",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "storage.modifier.implements.java"
|
||||
}
|
||||
},
|
||||
"end": "(?=\\s*\\{)",
|
||||
"name": "meta.definition.class.implemented.interfaces.java",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#object-types-inherited"
|
||||
},
|
||||
{
|
||||
"include": "#comments"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"include": "#record-body"
|
||||
}
|
||||
]
|
||||
},
|
||||
"record-body": {
|
||||
"begin": "{",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.section.class.begin.bracket.curly.java"
|
||||
}
|
||||
},
|
||||
"end": "(?=})",
|
||||
"name": "meta.record.body.java",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#record-constructor"
|
||||
},
|
||||
{
|
||||
"include": "#class-body"
|
||||
}
|
||||
]
|
||||
},
|
||||
"record-constructor": {
|
||||
"begin": "(?!new)(?=[\\w<].*\\s+)(?=([^\\(=/]|/(?!/))+(?={))",
|
||||
"end": "(})|(?=;)",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.section.method.end.bracket.curly.java"
|
||||
}
|
||||
},
|
||||
"name": "meta.method.java",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#storage-modifiers"
|
||||
},
|
||||
{
|
||||
"begin": "(\\w+)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "entity.name.function.java"
|
||||
}
|
||||
},
|
||||
"end": "(?=\\s*{)",
|
||||
"name": "meta.method.identifier.java",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#comments"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"include": "#comments"
|
||||
},
|
||||
{
|
||||
"begin": "{",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.section.method.begin.bracket.curly.java"
|
||||
}
|
||||
},
|
||||
"end": "(?=})",
|
||||
"contentName": "meta.method.body.java",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#code"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"static-initializer": {
|
||||
"patterns": [
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"git": {
|
||||
"name": "textmate/perl.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/perl.tmbundle",
|
||||
"commitHash": "80826abe75250286c2a1a07958e50e8551d3f50c"
|
||||
"commitHash": "d9841a0878239fa43f88c640f8d458590f97e8f5"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"git": {
|
||||
"name": "MagicStack/MagicPython",
|
||||
"repositoryUrl": "https://github.com/MagicStack/MagicPython",
|
||||
"commitHash": "c9b3409deb69acec31bbf7913830e93a046b30cc"
|
||||
"commitHash": "0b09c1fca238d22e15ac5712d03f9bf6da626f9c"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
|
|
|
@ -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/MagicStack/MagicPython/commit/c9b3409deb69acec31bbf7913830e93a046b30cc",
|
||||
"version": "https://github.com/MagicStack/MagicPython/commit/0b09c1fca238d22e15ac5712d03f9bf6da626f9c",
|
||||
"name": "MagicPython",
|
||||
"scopeName": "source.python",
|
||||
"patterns": [
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
"git": {
|
||||
"name": "Microsoft/vscode-mssql",
|
||||
"repositoryUrl": "https://github.com/Microsoft/vscode-mssql",
|
||||
"commitHash": "a79741f76fd33bd137a8c28172c9750b978309b6"
|
||||
"commitHash": "a542fe96780e6b274adb281810d419a512fb5bb4"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.6.0"
|
||||
"version": "1.9.0"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
|
|
|
@ -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/vscode-mssql/commit/a79741f76fd33bd137a8c28172c9750b978309b6",
|
||||
"version": "https://github.com/Microsoft/vscode-mssql/commit/a542fe96780e6b274adb281810d419a512fb5bb4",
|
||||
"name": "SQL",
|
||||
"scopeName": "source.sql",
|
||||
"patterns": [
|
||||
|
@ -404,7 +404,7 @@
|
|||
}
|
||||
},
|
||||
"comment": "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
||||
"match": "(N)?(')[^']*(')",
|
||||
"match": "(N)?(')(?:[^'\\\\]|\\\\.)*(')",
|
||||
"name": "string.quoted.single.sql"
|
||||
},
|
||||
{
|
||||
|
@ -437,7 +437,7 @@
|
|||
}
|
||||
},
|
||||
"comment": "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
||||
"match": "(`)[^`\\\\]*(`)",
|
||||
"match": "(`)(?:[^`\\\\]|\\\\.)*(`)",
|
||||
"name": "string.quoted.other.backtick.sql"
|
||||
},
|
||||
{
|
||||
|
@ -470,7 +470,7 @@
|
|||
}
|
||||
},
|
||||
"comment": "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
||||
"match": "(\")[^\"#]*(\")",
|
||||
"match": "(\")(?:[^\"#\\\\]|\\\\.)*(\")",
|
||||
"name": "string.quoted.double.sql"
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue