diff --git a/org.eclipse.tm4e.core/src/main/java/org/eclipse/tm4e/core/internal/oniguruma/OnigRegExp.java b/org.eclipse.tm4e.core/src/main/java/org/eclipse/tm4e/core/internal/oniguruma/OnigRegExp.java
index c4f9fc0e8..b04193c92 100644
--- a/org.eclipse.tm4e.core/src/main/java/org/eclipse/tm4e/core/internal/oniguruma/OnigRegExp.java
+++ b/org.eclipse.tm4e.core/src/main/java/org/eclipse/tm4e/core/internal/oniguruma/OnigRegExp.java
@@ -70,9 +70,9 @@ public OnigRegExp(final String pattern) {
* @throws TMException if parsing fails
*/
public OnigRegExp(final String pattern, final boolean ignoreCase) {
- this.pattern = pattern;
- hasGAnchor = pattern.contains("\\G");
- final byte[] patternBytes = pattern.getBytes(StandardCharsets.UTF_8);
+ this.pattern = rewritePatternIfRequired(pattern);
+ hasGAnchor = this.pattern.contains("\\G");
+ final byte[] patternBytes = this.pattern.getBytes(StandardCharsets.UTF_8);
try {
int options = Option.CAPTURE_GROUP;
if (ignoreCase)
@@ -80,10 +80,32 @@ public OnigRegExp(final String pattern, final boolean ignoreCase) {
regex = new Regex(patternBytes, 0, patternBytes.length, options, UTF8Encoding.INSTANCE, Syntax.DEFAULT,
LOGGER.isLoggable(Level.WARNING) ? LOGGER_WARN_CALLBACK : WarnCallback.NONE);
} catch (final SyntaxException ex) {
- throw new TMException("Parsing regex pattern \"" + pattern + "\" failed with " + ex, ex);
+ throw new TMException("Parsing regex pattern \"" + this.pattern + "\" failed with " + ex, ex);
}
}
+ /**
+ * Rewrites the given pattern to workaround limitations of the joni library which for example does not support
+ * negative variable-length lookbehinds
+ *
+ * @see github.com/eclipse/tm4e/issue/677
+ */
+ private String rewritePatternIfRequired(final String pattern) {
+
+ // e.g. used in csharp.tmLanguage.json
+ final var lookbehind1 = "(? | file-extensions="code-search" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/search-result)
| XML | file-extensions="ascx, atom, axaml, axml, bpmn, cpt, csl, csproj, csproj.user, dita, ditamap, dtd, dtml, ent, fsproj, fxml, iml, isml, jmx, launch, menu, mod, mxml, nuspec, opml, owl, proj, props, pt, publishsettings, pubxml, pubxml.user, rbxlx, rbxmx, rdf, rng, rss, shproj, storyboard, svg, targets, tld, tmx, vbproj, vbproj.user, vcxproj, vcxproj.filters, wsdl, wxi, wxl, wxs, xaml, xbl, xib, xlf, xliff, xml, xoml, xpdl, xsd, xul" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/xml) [[upstream]](https://github.com/atom/language-xml/commit/7bc75dfe779ad5b35d9bf4013d9181864358cb49)
| XSL | file-extensions="xsl, xslt" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/xml) [[upstream]](https://github.com/atom/language-xml/commit/507de2ee7daca60cf02e9e21fbeb92bbae73e280)
| YAML | file-extensions="cff, eyaml, eyml, yaml, yaml-tmlanguage, yaml-tmpreferences, yaml-tmtheme, yml" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/yaml) [[upstream]](https://github.com/textmate/yaml.tmbundle/commit/e54ceae3b719506dba7e481a77cea4a8b576ae46)
diff --git a/org.eclipse.tm4e.language_pack/about.html b/org.eclipse.tm4e.language_pack/about.html
index c4e2ae43e..f5a5f5383 100644
--- a/org.eclipse.tm4e.language_pack/about.html
+++ b/org.eclipse.tm4e.language_pack/about.html
@@ -317,6 +317,11 @@
About This Content
file-extensions="bas, brs, vb, vba, vbs" |
1.85.2@microsoft/vscode [upstream]
+ |
+ VS Code Search Result |
+ file-extensions="code-search" |
+ 1.85.2@microsoft/vscode
+ |
XML |
file-extensions="ascx, atom, axaml, axml, bpmn, cpt, csl, csproj, csproj.user, dita, ditamap, dtd, dtml, ent, fsproj, fxml, iml, isml, jmx, launch, menu, mod, mxml, nuspec, opml, owl, proj, props, pt, publishsettings, pubxml, pubxml.user, rbxlx, rbxmx, rdf, rng, rss, shproj, storyboard, svg, targets, tld, tmx, vbproj, vbproj.user, vcxproj, vcxproj.filters, wsdl, wxi, wxl, wxs, xaml, xbl, xib, xlf, xliff, xml, xoml, xpdl, xsd, xul" |
diff --git a/org.eclipse.tm4e.language_pack/plugin.xml b/org.eclipse.tm4e.language_pack/plugin.xml
index 8c76de7f7..d5bd27346 100644
--- a/org.eclipse.tm4e.language_pack/plugin.xml
+++ b/org.eclipse.tm4e.language_pack/plugin.xml
@@ -816,6 +816,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1114,6 +1142,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/icon.png b/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/icon.png
new file mode 100644
index 000000000..7ff53b97b
Binary files /dev/null and b/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/icon.png differ
diff --git a/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/icon@2x.png b/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/icon@2x.png
new file mode 100644
index 000000000..18d3e088c
Binary files /dev/null and b/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/icon@2x.png differ
diff --git a/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/markdown-math.example.md b/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/markdown-math.example.md
new file mode 100644
index 000000000..a226c8cd7
--- /dev/null
+++ b/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/markdown-math.example.md
@@ -0,0 +1,42 @@
+# MathMarkdown Example
+
+**Inline Equations:**
+
+You can include inline equations by enclosing them in single dollar signs ($). For example, the equation for the area of a circle is $A = \pi r^2$.
+
+**Display Equations:**
+
+To display equations on their own line, you can use double dollar signs ($$). For example, the quadratic formula is:
+
+$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$
+
+**Greek Letters:**
+
+MathMarkdown supports Greek letters using their LaTeX names. For example, you can write alpha ($\alpha$), beta ($\beta$), and gamma ($\gamma$) using the LaTeX notation.
+
+**Fractions and Exponents:**
+
+You can create fractions using the `\frac` command. For example, $\frac{1}{2}$ represents one-half.
+
+Exponents can be written using the caret (^) symbol. For example, $2^3$ represents two raised to the power of three.
+
+**Summation and Integration:**
+
+MathMarkdown also supports summation and integration symbols. For example, the sum of the first $n$ natural numbers can be written as:
+
+$$\sum_{i=1}^{n} i = \frac{n(n+1)}{2}$$
+
+The definite integral of a function $f(x)$ from $a$ to $b$ can be written as:
+
+$$\int_{a}^{b} f(x) dx$$
+
+**Matrices:**
+
+You can create matrices using the `matrix` environment. For example, the following matrix represents a 2x2 identity matrix:
+
+$$
+\begin{matrix}
+1 & 0 \\
+0 & 1 \\
+\end{matrix}
+$$
\ No newline at end of file
diff --git a/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/markdown-math.tmLanguage.json b/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/markdown-math.tmLanguage.json
new file mode 100644
index 000000000..d3146023e
--- /dev/null
+++ b/org.eclipse.tm4e.language_pack/syntaxes/markdown-math/markdown-math.tmLanguage.json
@@ -0,0 +1,107 @@
+{
+ "information_for_contributors": [
+ "This file includes some grammar rules copied from https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/TeX.tmLanguage.json"
+ ],
+ "name": "Markdown Math",
+ "scopeName": "text.html.markdown.math",
+ "patterns": [
+ {
+ "include": "#math"
+ }
+ ],
+ "repository": {
+ "math": {
+ "patterns": [
+ {
+ "name": "comment.line.math.tex",
+ "match": "((?({
+ 30: driver: ApolloDriver,
+ 31 autoSchemaFile:
+
+apps/api/src/modules/common/notifications/notifications.module.ts:
+ 6
+ 7: import { catalog } from './channel-drivers/catalog.js';
+ 8 import { OnAnyListener } from './listeners/on-any.listener.js';
+
+apps/api/src/modules/common/__fixtures__/testing.app.module.ts:
+ 12 imports: [GraphQLModule.forRoot({
+ 13: driver: ApolloDriver,
+ 14 autoSchemaFile: true,
diff --git a/org.eclipse.tm4e.language_pack/syntaxes/search-result/search-result.tmLanguage.json b/org.eclipse.tm4e.language_pack/syntaxes/search-result/search-result.tmLanguage.json
new file mode 100644
index 000000000..68f00cfb2
--- /dev/null
+++ b/org.eclipse.tm4e.language_pack/syntaxes/search-result/search-result.tmLanguage.json
@@ -0,0 +1,4663 @@
+{
+ "information_for_contributors": "This file is generated from ./generateTMLanguage.js.",
+ "name": "Search Results",
+ "scopeName": "text.searchResult",
+ "patterns": [
+ {
+ "begin": "^(# Query): ",
+ "end": "\n",
+ "name": "meta.header.search keyword.operator.word.search",
+ "beginCaptures": {
+ "1": {
+ "name": "entity.other.attribute-name"
+ }
+ },
+ "patterns": [
+ {
+ "match": "(\\\\n)|(\\\\\\\\)",
+ "name": "entity.other.attribute-value string.unquoted constant.character.escape"
+ },
+ {
+ "match": "\\\\.|\\\\$",
+ "name": "entity.other.attribute-value string.unquoted invalid.illegal"
+ },
+ {
+ "match": "[^\\\\\\\n]+",
+ "name": "entity.other.attribute-value string.unquoted"
+ }
+ ]
+ },
+ {
+ "begin": "^(# Flags): ",
+ "end": "\n",
+ "name": "meta.header.search keyword.operator.word.search",
+ "beginCaptures": {
+ "1": {
+ "name": "entity.other.attribute-name"
+ }
+ },
+ "patterns": [
+ {
+ "match": "(RegExp|CaseSensitive|IgnoreExcludeSettings|WordMatch)",
+ "name": "entity.other.attribute-value string.unquoted keyword.other"
+ },
+ {
+ "match": "."
+ }
+ ]
+ },
+ {
+ "begin": "^(# ContextLines): ",
+ "end": "\n",
+ "name": "meta.header.search keyword.operator.word.search",
+ "beginCaptures": {
+ "1": {
+ "name": "entity.other.attribute-name"
+ }
+ },
+ "patterns": [
+ {
+ "match": "\\d",
+ "name": "entity.other.attribute-value string.unquoted constant.numeric.integer"
+ },
+ {
+ "match": ".",
+ "name": "invalid.illegal"
+ }
+ ]
+ },
+ {
+ "match": "^(# (?:Including|Excluding)): (.*)$",
+ "name": "meta.header.search keyword.operator.word.search",
+ "captures": {
+ "1": {
+ "name": "entity.other.attribute-name"
+ },
+ "2": {
+ "name": "entity.other.attribute-value string.unquoted"
+ }
+ }
+ },
+ {
+ "include": "#bat"
+ },
+ {
+ "include": "#c"
+ },
+ {
+ "include": "#clj"
+ },
+ {
+ "include": "#coffee"
+ },
+ {
+ "include": "#cpp"
+ },
+ {
+ "include": "#cs"
+ },
+ {
+ "include": "#cshtml"
+ },
+ {
+ "include": "#css"
+ },
+ {
+ "include": "#dart"
+ },
+ {
+ "include": "#diff"
+ },
+ {
+ "include": "#dockerfile"
+ },
+ {
+ "include": "#fs"
+ },
+ {
+ "include": "#go"
+ },
+ {
+ "include": "#groovy"
+ },
+ {
+ "include": "#h"
+ },
+ {
+ "include": "#handlebars"
+ },
+ {
+ "include": "#hlsl"
+ },
+ {
+ "include": "#hpp"
+ },
+ {
+ "include": "#html"
+ },
+ {
+ "include": "#ini"
+ },
+ {
+ "include": "#java"
+ },
+ {
+ "include": "#jl"
+ },
+ {
+ "include": "#js"
+ },
+ {
+ "include": "#json"
+ },
+ {
+ "include": "#jsx"
+ },
+ {
+ "include": "#less"
+ },
+ {
+ "include": "#log"
+ },
+ {
+ "include": "#lua"
+ },
+ {
+ "include": "#m"
+ },
+ {
+ "include": "#makefile"
+ },
+ {
+ "include": "#md"
+ },
+ {
+ "include": "#mm"
+ },
+ {
+ "include": "#p6"
+ },
+ {
+ "include": "#perl"
+ },
+ {
+ "include": "#php"
+ },
+ {
+ "include": "#ps1"
+ },
+ {
+ "include": "#pug"
+ },
+ {
+ "include": "#py"
+ },
+ {
+ "include": "#r"
+ },
+ {
+ "include": "#rb"
+ },
+ {
+ "include": "#rs"
+ },
+ {
+ "include": "#scala"
+ },
+ {
+ "include": "#scss"
+ },
+ {
+ "include": "#sh"
+ },
+ {
+ "include": "#sql"
+ },
+ {
+ "include": "#swift"
+ },
+ {
+ "include": "#ts"
+ },
+ {
+ "include": "#tsx"
+ },
+ {
+ "include": "#vb"
+ },
+ {
+ "include": "#xml"
+ },
+ {
+ "include": "#yaml"
+ },
+ {
+ "match": "^(?!\\s)(.*?)([^\\\\\\/\\n]*)(:)$",
+ "name": "meta.resultBlock.search string meta.path.search",
+ "captures": {
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ }
+ },
+ {
+ "match": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+)( ))(.*))",
+ "name": "meta.resultBlock.search meta.resultLine.search",
+ "captures": {
+ "1": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ }
+ },
+ {
+ "match": "⟪ [0-9]+ characters skipped ⟫",
+ "name": "meta.resultBlock.search comment meta.resultLine.elision"
+ }
+ ],
+ "repository": {
+ "bat": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.bat)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.batchfile"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.batchfile"
+ }
+ ]
+ }
+ ]
+ },
+ "c": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.c)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.c"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.c"
+ }
+ ]
+ }
+ ]
+ },
+ "clj": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.clj)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.clojure"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.clojure"
+ }
+ ]
+ }
+ ]
+ },
+ "coffee": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.coffee)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.coffee"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.coffee"
+ }
+ ]
+ }
+ ]
+ },
+ "cpp": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.(?:cpp|c\\+\\+|cc|cxx|hxx|h\\+\\+|hh))(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.cpp"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.cpp"
+ }
+ ]
+ }
+ ]
+ },
+ "cs": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.cs)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.cs"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.cs"
+ }
+ ]
+ }
+ ]
+ },
+ "cshtml": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.cshtml)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.html.cshtml"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.html.cshtml"
+ }
+ ]
+ }
+ ]
+ },
+ "css": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.css)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.css"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.css"
+ }
+ ]
+ }
+ ]
+ },
+ "dart": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.dart)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.dart"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.dart"
+ }
+ ]
+ }
+ ]
+ },
+ "diff": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.diff)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.diff"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.diff"
+ }
+ ]
+ }
+ ]
+ },
+ "dockerfile": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*(?:dockerfile|Dockerfile|containerfile|Containerfile))(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.dockerfile"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.dockerfile"
+ }
+ ]
+ }
+ ]
+ },
+ "fs": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.fs)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.fsharp"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.fsharp"
+ }
+ ]
+ }
+ ]
+ },
+ "go": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.go)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.go"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.go"
+ }
+ ]
+ }
+ ]
+ },
+ "groovy": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.groovy)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.groovy"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.groovy"
+ }
+ ]
+ }
+ ]
+ },
+ "h": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.h)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.objc"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.objc"
+ }
+ ]
+ }
+ ]
+ },
+ "handlebars": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.(?:handlebars|hbs))(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.html.handlebars"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.html.handlebars"
+ }
+ ]
+ }
+ ]
+ },
+ "hlsl": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.hlsl)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.hlsl"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.hlsl"
+ }
+ ]
+ }
+ ]
+ },
+ "hpp": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.hpp)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.objcpp"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.objcpp"
+ }
+ ]
+ }
+ ]
+ },
+ "html": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.html)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.html.basic"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.html.basic"
+ }
+ ]
+ }
+ ]
+ },
+ "ini": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.ini)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.ini"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.ini"
+ }
+ ]
+ }
+ ]
+ },
+ "java": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.java)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.java"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.java"
+ }
+ ]
+ }
+ ]
+ },
+ "jl": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.jl)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.julia"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.julia"
+ }
+ ]
+ }
+ ]
+ },
+ "js": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.js)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.js"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.js"
+ }
+ ]
+ }
+ ]
+ },
+ "json": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.json)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.json.comments"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.json.comments"
+ }
+ ]
+ }
+ ]
+ },
+ "jsx": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.jsx)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.js.jsx"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.js.jsx"
+ }
+ ]
+ }
+ ]
+ },
+ "less": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.less)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.css.less"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.css.less"
+ }
+ ]
+ }
+ ]
+ },
+ "log": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.log)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.log"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.log"
+ }
+ ]
+ }
+ ]
+ },
+ "lua": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.lua)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.lua"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.lua"
+ }
+ ]
+ }
+ ]
+ },
+ "m": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.m)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.objc"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.objc"
+ }
+ ]
+ }
+ ]
+ },
+ "makefile": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*(?:makefile|Makefile)(?:\\..*)?)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.makefile"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.makefile"
+ }
+ ]
+ }
+ ]
+ },
+ "md": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.md)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.html.markdown"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.html.markdown"
+ }
+ ]
+ }
+ ]
+ },
+ "mm": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.mm)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.objcpp"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.objcpp"
+ }
+ ]
+ }
+ ]
+ },
+ "p6": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.p6)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.perl.6"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.perl.6"
+ }
+ ]
+ }
+ ]
+ },
+ "perl": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.(?:perl|pl|pm))(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.perl"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.perl"
+ }
+ ]
+ }
+ ]
+ },
+ "php": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.php)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.php"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.php"
+ }
+ ]
+ }
+ ]
+ },
+ "ps1": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.ps1)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.powershell"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.powershell"
+ }
+ ]
+ }
+ ]
+ },
+ "pug": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.pug)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.pug"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.pug"
+ }
+ ]
+ }
+ ]
+ },
+ "py": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.py)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.python"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.python"
+ }
+ ]
+ }
+ ]
+ },
+ "r": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.r)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.r"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.r"
+ }
+ ]
+ }
+ ]
+ },
+ "rb": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.rb)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.ruby"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.ruby"
+ }
+ ]
+ }
+ ]
+ },
+ "rs": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.rs)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.rust"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.rust"
+ }
+ ]
+ }
+ ]
+ },
+ "scala": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.scala)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.scala"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.scala"
+ }
+ ]
+ }
+ ]
+ },
+ "scss": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.scss)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.css.scss"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.css.scss"
+ }
+ ]
+ }
+ ]
+ },
+ "sh": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.sh)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.shell"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.shell"
+ }
+ ]
+ }
+ ]
+ },
+ "sql": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.sql)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.sql"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.sql"
+ }
+ ]
+ }
+ ]
+ },
+ "swift": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.swift)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.swift"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.swift"
+ }
+ ]
+ }
+ ]
+ },
+ "ts": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.ts)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.ts"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.ts"
+ }
+ ]
+ }
+ ]
+ },
+ "tsx": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.tsx)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.tsx"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.tsx"
+ }
+ ]
+ }
+ ]
+ },
+ "vb": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.vb)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.asp.vb.net"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.asp.vb.net"
+ }
+ ]
+ }
+ ]
+ },
+ "xml": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.xml)(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.xml"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "text.xml"
+ }
+ ]
+ }
+ ]
+ },
+ "yaml": {
+ "name": "meta.resultBlock.search",
+ "begin": "^(?!\\s)(.*?)([^\\\\\\/\\n]*\\.(?:ya?ml))(:)$",
+ "end": "^(?!\\s)",
+ "beginCaptures": {
+ "0": {
+ "name": "string meta.path.search"
+ },
+ "1": {
+ "name": "meta.path.dirname.search"
+ },
+ "2": {
+ "name": "meta.path.basename.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "name": "meta.resultLine.search meta.resultLine.multiLine.search",
+ "begin": "^ (?:\\s*)((\\d+) )",
+ "while": "^ (?:\\s*)(?:((\\d+)(:))|((\\d+) ))",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "whileCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ },
+ "4": {
+ "name": "meta.resultLinePrefix.contextLinePrefix.search"
+ },
+ "5": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.yaml"
+ }
+ ]
+ },
+ {
+ "begin": "^ (?:\\s*)((\\d+)(:))",
+ "while": "(?=not)possible",
+ "name": "meta.resultLine.search meta.resultLine.singleLine.search",
+ "beginCaptures": {
+ "0": {
+ "name": "constant.numeric.integer meta.resultLinePrefix.search"
+ },
+ "1": {
+ "name": "meta.resultLinePrefix.matchLinePrefix.search"
+ },
+ "2": {
+ "name": "meta.resultLinePrefix.lineNumber.search"
+ },
+ "3": {
+ "name": "punctuation.separator"
+ }
+ },
+ "patterns": [
+ {
+ "include": "source.yaml"
+ }
+ ]
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/org.eclipse.tm4e.language_pack/updater/updater-config.yaml b/org.eclipse.tm4e.language_pack/updater/updater-config.yaml
index 2e9fa8d85..60ffbebf5 100644
--- a/org.eclipse.tm4e.language_pack/updater/updater-config.yaml
+++ b/org.eclipse.tm4e.language_pack/updater/updater-config.yaml
@@ -136,9 +136,6 @@ sources:
ignored: 'broken, maybe because of file extension: *.log.?'
markdown-math:
- ignored: >-
- broken because math.block begin regex not supported by Joni. Re-enable
- when the following is fixed and integrated: https://github.com/microsoft/vscode/issues/181662
languages:
markdown-math:
label: Markdown Math
@@ -162,7 +159,6 @@ sources:
label: ASP.NET Razor
search-result:
- ignored: syntax highlighting broken
languages:
search-result:
label: VS Code Search Result
diff --git a/org.eclipse.tm4e.language_pack/updater/updater-state.yaml b/org.eclipse.tm4e.language_pack/updater/updater-state.yaml
index 61bc15d7c..fd25fc47d 100644
--- a/org.eclipse.tm4e.language_pack/updater/updater-state.yaml
+++ b/org.eclipse.tm4e.language_pack/updater/updater-state.yaml
@@ -541,6 +541,19 @@ extensions:
- .mdwn
- .mkd
- .workbook
+ markdown-math:
+ github:
+ repo: microsoft/vscode
+ path: extensions/markdown-math
+ ref: 1.85.2
+ commit: 8b3775030ed1a69b13e4f4c628c612102e30a681
+ languages:
+ markdown-math:
+ label: Markdown Math
+ scope-name: text.html.markdown.math
+ inline-grammars:
+ - markdown.math.block
+ - markdown.math.inline
objective-c:
github:
repo: microsoft/vscode
@@ -785,8 +798,14 @@ extensions:
github:
repo: microsoft/vscode
path: extensions/search-result
- ref: 1.84.0
- commit: d037ac076cee195194f93ce6fe2bdfe2969cc82d
+ ref: 1.85.2
+ commit: 8b3775030ed1a69b13e4f4c628c612102e30a681
+ languages:
+ search-result:
+ label: VS Code Search Result
+ scope-name: text.searchResult
+ file-extensions:
+ - .code-search
shaderlab:
github:
repo: microsoft/vscode