tm-grammars 1.22.19 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +286 -1
- package/README.md +241 -239
- package/grammars/abap.json +36 -36
- package/grammars/actionscript-3.json +29 -29
- package/grammars/ada.json +78 -78
- package/grammars/angular-expression.json +62 -62
- package/grammars/angular-html.json +0 -1
- package/grammars/angular-inline-style.json +3 -3
- package/grammars/angular-inline-template.json +2 -2
- package/grammars/angular-template-blocks.json +3 -3
- package/grammars/angular-template.json +1 -1
- package/grammars/angular-ts.json +251 -251
- package/grammars/apache.json +31 -31
- package/grammars/apex.json +108 -108
- package/grammars/apl.json +18 -18
- package/grammars/applescript.json +11 -11
- package/grammars/ara.json +13 -13
- package/grammars/asciidoc.json +234 -234
- package/grammars/asm.json +90 -90
- package/grammars/astro.json +25 -25
- package/grammars/awk.json +8 -8
- package/grammars/ballerina.json +150 -150
- package/grammars/bat.json +28 -28
- package/grammars/beancount.json +33 -33
- package/grammars/berry.json +11 -11
- package/grammars/bibtex.json +12 -12
- package/grammars/bicep.json +12 -12
- package/grammars/blade.json +183 -183
- package/grammars/bsl.json +58 -58
- package/grammars/c.json +162 -162
- package/grammars/cadence.json +20 -20
- package/grammars/cairo.json +10 -10
- package/grammars/clarity.json +20 -20
- package/grammars/clojure.json +25 -25
- package/grammars/cmake.json +3 -3
- package/grammars/cobol.json +91 -91
- package/grammars/codeql.json +154 -154
- package/grammars/coffee.json +45 -45
- package/grammars/common-lisp.json +50 -50
- package/grammars/coq.json +10 -10
- package/grammars/cpp-macro.json +410 -410
- package/grammars/cpp.json +641 -641
- package/grammars/crystal.json +68 -68
- package/grammars/csharp.json +196 -196
- package/grammars/css.json +83 -83
- package/grammars/csv.json +1 -1
- package/grammars/cue.json +55 -55
- package/grammars/cypher.json +11 -11
- package/grammars/d.json +127 -32
- package/grammars/dart.json +18 -18
- package/grammars/dax.json +9 -9
- package/grammars/desktop.json +9 -9
- package/grammars/diff.json +3 -3
- package/grammars/dotenv.json +3 -3
- package/grammars/dream-maker.json +20 -20
- package/grammars/edge.json +8 -8
- package/grammars/elixir.json +44 -44
- package/grammars/elm.json +23 -23
- package/grammars/emacs-lisp.json +76 -76
- package/grammars/erb.json +2 -2
- package/grammars/erlang.json +29 -29
- package/grammars/es-tag-css.json +3 -3
- package/grammars/es-tag-glsl.json +3 -3
- package/grammars/es-tag-html.json +3 -3
- package/grammars/es-tag-sql.json +2 -2
- package/grammars/es-tag-xml.json +2 -2
- package/grammars/fennel.json +8 -8
- package/grammars/fish.json +10 -10
- package/grammars/fluent.json +10 -10
- package/grammars/fortran-fixed-form.json +1 -1
- package/grammars/fortran-free-form.json +106 -106
- package/grammars/fsharp.json +70 -70
- package/grammars/gdresource.json +15 -15
- package/grammars/gdscript.json +31 -27
- package/grammars/gdshader.json +18 -18
- package/grammars/genie.json +6 -6
- package/grammars/gherkin.json +1 -1
- package/grammars/git-commit.json +1 -1
- package/grammars/git-rebase.json +1 -1
- package/grammars/gleam.json +11 -11
- package/grammars/glimmer-js.json +35 -35
- package/grammars/glimmer-ts.json +35 -35
- package/grammars/glsl.json +4 -4
- package/grammars/gnuplot.json +41 -41
- package/grammars/go.json +155 -155
- package/grammars/graphql.json +20 -20
- package/grammars/groovy.json +44 -44
- package/grammars/hack.json +74 -74
- package/grammars/haml.json +24 -24
- package/grammars/handlebars.json +25 -25
- package/grammars/haskell.json +99 -99
- package/grammars/haxe.json +51 -51
- package/grammars/hcl.json +43 -43
- package/grammars/hjson.json +29 -29
- package/grammars/hlsl.json +15 -15
- package/grammars/html-derivative.json +0 -1
- package/grammars/html.json +28 -29
- package/grammars/http.json +17 -17
- package/grammars/hxml.json +3 -3
- package/grammars/hy.json +10 -10
- package/grammars/imba.json +168 -173
- package/grammars/ini.json +2 -2
- package/grammars/java.json +54 -54
- package/grammars/javascript.json +262 -262
- package/grammars/jinja-html.json +3 -3
- package/grammars/jinja.json +15 -15
- package/grammars/jison.json +18 -18
- package/grammars/json.json +6 -6
- package/grammars/json5.json +12 -12
- package/grammars/jsonc.json +6 -6
- package/grammars/jsonl.json +6 -6
- package/grammars/jsonnet.json +15 -15
- package/grammars/jssm.json +4 -4
- package/grammars/jsx.json +262 -262
- package/grammars/julia.json +45 -45
- package/grammars/kotlin.json +15 -15
- package/grammars/kusto.json +13 -13
- package/grammars/latex.json +260 -260
- package/grammars/lean.json +12 -12
- package/grammars/less.json +91 -91
- package/grammars/liquid.json +96 -62
- package/grammars/llvm.json +122 -0
- package/grammars/log.json +22 -22
- package/grammars/logo.json +2 -2
- package/grammars/lua.json +34 -34
- package/grammars/luau.json +20 -20
- package/grammars/make.json +22 -22
- package/grammars/markdown-vue.json +1 -1
- package/grammars/markdown.json +83 -83
- package/grammars/marko.json +19 -19
- package/grammars/matlab.json +29 -29
- package/grammars/mdc.json +17 -17
- package/grammars/mdx.json +278 -278
- package/grammars/mermaid.json +97 -97
- package/grammars/mipsasm.json +2 -2
- package/grammars/mojo.json +122 -122
- package/grammars/move.json +35 -35
- package/grammars/narrat.json +10 -10
- package/grammars/nextflow.json +11 -11
- package/grammars/nginx.json +45 -45
- package/grammars/nim.json +44 -44
- package/grammars/nix.json +71 -71
- package/grammars/nushell.json +36 -36
- package/grammars/objective-c.json +129 -129
- package/grammars/objective-cpp.json +245 -245
- package/grammars/ocaml.json +229 -229
- package/grammars/pascal.json +4 -4
- package/grammars/perl.json +64 -64
- package/grammars/php.json +199 -199
- package/grammars/plsql.json +10 -10
- package/grammars/po.json +4 -4
- package/grammars/polar.json +13 -13
- package/grammars/postcss.json +31 -31
- package/grammars/powerquery.json +10 -10
- package/grammars/powershell.json +54 -54
- package/grammars/prisma.json +13 -13
- package/grammars/prolog.json +3 -3
- package/grammars/proto.json +11 -11
- package/grammars/pug.json +30 -30
- package/grammars/puppet.json +35 -35
- package/grammars/purescript.json +843 -467
- package/grammars/python.json +126 -126
- package/grammars/qml.json +18 -18
- package/grammars/qss.json +7 -7
- package/grammars/r.json +17 -17
- package/grammars/racket.json +58 -58
- package/grammars/raku.json +15 -15
- package/grammars/razor.json +30 -30
- package/grammars/reg.json +3 -3
- package/grammars/regexp.json +15 -15
- package/grammars/rel.json +4 -4
- package/grammars/riscv.json +15 -15
- package/grammars/rst.json +26 -26
- package/grammars/ruby.json +103 -106
- package/grammars/rust.json +13 -13
- package/grammars/sas.json +9 -9
- package/grammars/sass.json +35 -35
- package/grammars/scala.json +75 -75
- package/grammars/scheme.json +16 -16
- package/grammars/scss.json +68 -68
- package/grammars/sdbl.json +18 -18
- package/grammars/shaderlab.json +8 -8
- package/grammars/shellscript.json +111 -111
- package/grammars/shellsession.json +1 -1
- package/grammars/smalltalk.json +5 -5
- package/grammars/solidity.json +20 -20
- package/grammars/soy.json +30 -30
- package/grammars/sparql.json +1 -1
- package/grammars/splunk.json +6 -6
- package/grammars/sql.json +8 -8
- package/grammars/ssh-config.json +2 -2
- package/grammars/stata.json +90 -90
- package/grammars/stylus.json +48 -48
- package/grammars/svelte.json +35 -25
- package/grammars/swift.json +114 -114
- package/grammars/system-verilog.json +25 -25
- package/grammars/systemd.json +16 -16
- package/grammars/talonscript.json +12 -12
- package/grammars/tasl.json +10 -10
- package/grammars/tcl.json +11 -11
- package/grammars/templ.json +34 -34
- package/grammars/terraform.json +42 -42
- package/grammars/tex.json +14 -14
- package/grammars/toml.json +15 -15
- package/grammars/tsx.json +262 -262
- package/grammars/turtle.json +2 -2
- package/grammars/twig.json +37 -37
- package/grammars/typescript.json +251 -251
- package/grammars/typespec.json +54 -273
- package/grammars/typst.json +34 -34
- package/grammars/v.json +32 -32
- package/grammars/vala.json +6 -6
- package/grammars/vb.json +7 -7
- package/grammars/verilog.json +4 -4
- package/grammars/vhdl.json +10 -10
- package/grammars/viml.json +22 -22
- package/grammars/vue-html.json +10 -10
- package/grammars/vue-sfc-style-variable-injection.json +1 -1
- package/grammars/vue.json +65 -65
- package/grammars/vyper.json +126 -126
- package/grammars/wasm.json +26 -26
- package/grammars/wenyan.json +7 -7
- package/grammars/wgsl.json +9 -9
- package/grammars/wikitext.json +66 -66
- package/grammars/wit.json +1409 -0
- package/grammars/wolfram.json +446 -446
- package/grammars/xml.json +11 -11
- package/grammars/xsl.json +1 -1
- package/grammars/yaml.json +24 -24
- package/grammars/zenscript.json +8 -8
- package/grammars/zig.json +11 -11
- package/index.d.ts +7 -0
- package/index.js +1003 -283
- package/package.json +1 -1
package/grammars/ocaml.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
],
|
|
19
19
|
"repository": {
|
|
20
20
|
"attribute": {
|
|
21
|
-
"begin": "(\\[)
|
|
21
|
+
"begin": "(\\[)\\s*((?<![#\\-:!?.@*/\\&%\\^+<=>|~$])@{1,3}(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))",
|
|
22
22
|
"beginCaptures": {
|
|
23
23
|
"1": {
|
|
24
24
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"end": "
|
|
30
|
+
"end": "]",
|
|
31
31
|
"endCaptures": {
|
|
32
32
|
"0": {
|
|
33
33
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong"
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"name": "punctuation.definition.tag"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"match": "((?<![
|
|
51
|
+
"match": "((?<![#\\-:!?.@*/\\&%\\^+<=>|~$])%(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))((?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*)"
|
|
52
52
|
},
|
|
53
53
|
"attributePayload": {
|
|
54
54
|
"patterns": [
|
|
55
55
|
{
|
|
56
|
-
"begin": "(
|
|
57
|
-
"end": "((?<![
|
|
56
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]%|^%))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
57
|
+
"end": "((?<![#\\-:!?.@*/\\&%\\^+<=>|~$])[:?](?![#\\-:!?.@*/\\&%\\^+<=>|~$]))|(?<=\\s)|(?=])",
|
|
58
58
|
"endCaptures": {
|
|
59
59
|
"1": {
|
|
60
60
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
]
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
"begin": "(
|
|
74
|
-
"end": "(
|
|
73
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
74
|
+
"end": "(?=])",
|
|
75
75
|
"patterns": [
|
|
76
76
|
{
|
|
77
77
|
"include": "#signature"
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
]
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
"begin": "(
|
|
86
|
-
"end": "(
|
|
85
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]\\?|^\\?))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
86
|
+
"end": "(?=])",
|
|
87
87
|
"patterns": [
|
|
88
88
|
{
|
|
89
|
-
"begin": "(
|
|
90
|
-
"end": "(
|
|
89
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]\\?|^\\?))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
90
|
+
"end": "(?=])|\\bwhen\\b",
|
|
91
91
|
"endCaptures": {
|
|
92
92
|
"1": {
|
|
93
93
|
}
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
]
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
|
-
"begin": "(
|
|
103
|
-
"end": "(
|
|
102
|
+
"begin": "(?<=(?:\\P{word}when|^when))(?!\\p{word})",
|
|
103
|
+
"end": "(?=])",
|
|
104
104
|
"patterns": [
|
|
105
105
|
{
|
|
106
106
|
"include": "#term"
|
|
@@ -117,8 +117,8 @@
|
|
|
117
117
|
"bindClassTerm": {
|
|
118
118
|
"patterns": [
|
|
119
119
|
{
|
|
120
|
-
"begin": "(
|
|
121
|
-
"end": "(?<![
|
|
120
|
+
"begin": "(?<=(?:\\P{word}|^)(?:and|class|type))(?!\\p{word})",
|
|
121
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])(:)|(=)(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
122
122
|
"endCaptures": {
|
|
123
123
|
"1": {
|
|
124
124
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -129,8 +129,8 @@
|
|
|
129
129
|
},
|
|
130
130
|
"patterns": [
|
|
131
131
|
{
|
|
132
|
-
"begin": "(
|
|
133
|
-
"end": "(?=(
|
|
132
|
+
"begin": "(?<=(?:\\P{word}|^)(?:and|class|type))(?!\\p{word})",
|
|
133
|
+
"end": "(?=(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*\\s*,|[^\\s[:lower:]%])|(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*|(?=\\btype\\b)",
|
|
134
134
|
"endCaptures": {
|
|
135
135
|
"0": {
|
|
136
136
|
"name": "entity.name.function strong emphasis"
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"name": "punctuation.definition.tag"
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
|
-
"end": "
|
|
152
|
+
"end": "]",
|
|
153
153
|
"patterns": [
|
|
154
154
|
{
|
|
155
155
|
"include": "#type"
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
]
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
|
-
"begin": "(
|
|
166
|
-
"end": "(?<![
|
|
165
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
166
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])=(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|val)\\b)",
|
|
167
167
|
"endCaptures": {
|
|
168
168
|
"0": {
|
|
169
169
|
"name": "support.type strong"
|
|
@@ -176,8 +176,8 @@
|
|
|
176
176
|
]
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
|
-
"begin": "(
|
|
180
|
-
"end": "\\band\\b|(
|
|
179
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
180
|
+
"end": "\\band\\b|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
181
181
|
"endCaptures": {
|
|
182
182
|
"0": {
|
|
183
183
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp markup.underline"
|
|
@@ -194,8 +194,8 @@
|
|
|
194
194
|
"bindClassType": {
|
|
195
195
|
"patterns": [
|
|
196
196
|
{
|
|
197
|
-
"begin": "(
|
|
198
|
-
"end": "(?<![
|
|
197
|
+
"begin": "(?<=(?:\\P{word}|^)(?:and|class|type))(?!\\p{word})",
|
|
198
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])(:)|(=)(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
199
199
|
"endCaptures": {
|
|
200
200
|
"1": {
|
|
201
201
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -206,8 +206,8 @@
|
|
|
206
206
|
},
|
|
207
207
|
"patterns": [
|
|
208
208
|
{
|
|
209
|
-
"begin": "(
|
|
210
|
-
"end": "(?=(
|
|
209
|
+
"begin": "(?<=(?:\\P{word}|^)(?:and|class|type))(?!\\p{word})",
|
|
210
|
+
"end": "(?=(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*\\s*,|[^\\s[:lower:]%])|(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*|(?=\\btype\\b)",
|
|
211
211
|
"endCaptures": {
|
|
212
212
|
"0": {
|
|
213
213
|
"name": "entity.name.function strong emphasis"
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"name": "punctuation.definition.tag"
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
|
-
"end": "
|
|
229
|
+
"end": "]",
|
|
230
230
|
"patterns": [
|
|
231
231
|
{
|
|
232
232
|
"include": "#type"
|
|
@@ -239,8 +239,8 @@
|
|
|
239
239
|
]
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
|
-
"begin": "(
|
|
243
|
-
"end": "(?<![
|
|
242
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
243
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])=(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|val)\\b)",
|
|
244
244
|
"endCaptures": {
|
|
245
245
|
"0": {
|
|
246
246
|
"name": "support.type strong"
|
|
@@ -253,8 +253,8 @@
|
|
|
253
253
|
]
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
|
-
"begin": "(
|
|
257
|
-
"end": "\\band\\b|(
|
|
256
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
257
|
+
"end": "\\band\\b|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
258
258
|
"endCaptures": {
|
|
259
259
|
"0": {
|
|
260
260
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp markup.underline"
|
|
@@ -271,8 +271,8 @@
|
|
|
271
271
|
"bindConstructor": {
|
|
272
272
|
"patterns": [
|
|
273
273
|
{
|
|
274
|
-
"begin": "(
|
|
275
|
-
"end": "(:)|(\\bof\\b)|((?<![
|
|
274
|
+
"begin": "(?<=(?:\\P{word}exception|^exception))(?!\\p{word})|(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]\\+=|^\\+=|[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=|[^#\\-:!?.@*/\\&%\\^+<=>|~$]\\||^\\|))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
275
|
+
"end": "(:)|(\\bof\\b)|((?<![#\\-:!?.@*/\\&%\\^+<=>|~$])\\|(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
276
276
|
"endCaptures": {
|
|
277
277
|
"1": {
|
|
278
278
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
|
-
"match": "\\b
|
|
296
|
+
"match": "\\b\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*\\b(?!\\s*(?:\\.|\\([^*]))",
|
|
297
297
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong"
|
|
298
298
|
},
|
|
299
299
|
{
|
|
@@ -302,8 +302,8 @@
|
|
|
302
302
|
]
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
|
-
"begin": "(
|
|
306
|
-
"end": "(?<![
|
|
305
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?<=(?:\\P{word}of|^of))(?!\\p{word})",
|
|
306
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])\\|(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
307
307
|
"endCaptures": {
|
|
308
308
|
"0": {
|
|
309
309
|
"name": "support.type strong"
|
|
@@ -323,8 +323,8 @@
|
|
|
323
323
|
"include": "#comment"
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
|
-
"begin": "(
|
|
327
|
-
"end": "(?<![
|
|
326
|
+
"begin": "(?<=(?:\\P{word}type|^type))(?!\\p{word})",
|
|
327
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])=(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
328
328
|
"endCaptures": {
|
|
329
329
|
"0": {
|
|
330
330
|
"name": "support.type strong"
|
|
@@ -340,8 +340,8 @@
|
|
|
340
340
|
]
|
|
341
341
|
},
|
|
342
342
|
{
|
|
343
|
-
"begin": "(
|
|
344
|
-
"end": "\\band\\b|(
|
|
343
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
344
|
+
"end": "\\band\\b|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
345
345
|
"endCaptures": {
|
|
346
346
|
"0": {
|
|
347
347
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp markup.underline"
|
|
@@ -361,8 +361,8 @@
|
|
|
361
361
|
"include": "#comment"
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
|
-
"begin": "(
|
|
365
|
-
"end": "(?<![
|
|
364
|
+
"begin": "(?<=(?:\\P{word}and|^and))(?!\\p{word})|(?=\\p{upper})",
|
|
365
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])(:(?!=))|(:?=)(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|open|type|val)\\b)",
|
|
366
366
|
"endCaptures": {
|
|
367
367
|
"1": {
|
|
368
368
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename"
|
|
381
381
|
},
|
|
382
382
|
{
|
|
383
|
-
"match": "
|
|
383
|
+
"match": "\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*",
|
|
384
384
|
"name": "entity.name.function strong emphasis"
|
|
385
385
|
},
|
|
386
386
|
{
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
"include": "#comment"
|
|
397
397
|
},
|
|
398
398
|
{
|
|
399
|
-
"begin": "(?<![
|
|
399
|
+
"begin": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$]):(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
400
400
|
"beginCaptures": {
|
|
401
401
|
"0": {
|
|
402
402
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -420,8 +420,8 @@
|
|
|
420
420
|
]
|
|
421
421
|
},
|
|
422
422
|
{
|
|
423
|
-
"begin": "(
|
|
424
|
-
"end": "\\b(and)\\b|((?<![
|
|
423
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
424
|
+
"end": "\\b(and)\\b|((?<![#\\-:!?.@*/\\&%\\^+<=>|~$])=(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
425
425
|
"endCaptures": {
|
|
426
426
|
"1": {
|
|
427
427
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp markup.underline"
|
|
@@ -437,8 +437,8 @@
|
|
|
437
437
|
]
|
|
438
438
|
},
|
|
439
439
|
{
|
|
440
|
-
"begin": "(
|
|
441
|
-
"end": "\\b(?:(and)|(with))\\b|(
|
|
440
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:=|^:=|[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
441
|
+
"end": "\\b(?:(and)|(with))\\b|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
442
442
|
"endCaptures": {
|
|
443
443
|
"1": {
|
|
444
444
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp markup.underline"
|
|
@@ -458,8 +458,8 @@
|
|
|
458
458
|
"bindTerm": {
|
|
459
459
|
"patterns": [
|
|
460
460
|
{
|
|
461
|
-
"begin": "(
|
|
462
|
-
"end": "(\\bmodule\\b)|(\\bopen\\b)|(?<![
|
|
461
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]!|^!))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?<=(?:\\P{word}|^)(?:and|external|let|method|val))(?!\\p{word})",
|
|
462
|
+
"end": "(\\bmodule\\b)|(\\bopen\\b)|(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])(:)|((?<![#\\-:!?.@*/\\&%\\^+<=>|~$])=(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
463
463
|
"endCaptures": {
|
|
464
464
|
"1": {
|
|
465
465
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename"
|
|
@@ -476,8 +476,8 @@
|
|
|
476
476
|
},
|
|
477
477
|
"patterns": [
|
|
478
478
|
{
|
|
479
|
-
"begin": "(
|
|
480
|
-
"end": "(?=\\b(?:module|open)\\b)|(?=(
|
|
479
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]!|^!))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?<=(?:\\P{word}|^)(?:and|external|let|method|val))(?!\\p{word})",
|
|
480
|
+
"end": "(?=\\b(?:module|open)\\b)|(?=(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*\\s*,|[^\\s[:lower:]%])|(\\brec\\b)|((?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*)",
|
|
481
481
|
"endCaptures": {
|
|
482
482
|
"1": {
|
|
483
483
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
@@ -496,8 +496,8 @@
|
|
|
496
496
|
]
|
|
497
497
|
},
|
|
498
498
|
{
|
|
499
|
-
"begin": "(
|
|
500
|
-
"end": "((
|
|
499
|
+
"begin": "(?<=(?:\\P{word}rec|^rec))(?!\\p{word})",
|
|
500
|
+
"end": "((?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*)|(?=[^\\s[:alpha:]])",
|
|
501
501
|
"endCaptures": {
|
|
502
502
|
"0": {
|
|
503
503
|
"name": "entity.name.function strong emphasis"
|
|
@@ -515,8 +515,8 @@
|
|
|
515
515
|
]
|
|
516
516
|
},
|
|
517
517
|
{
|
|
518
|
-
"begin": "(
|
|
519
|
-
"end": "(
|
|
518
|
+
"begin": "(?<=(?:\\P{word}module|^module))(?!\\p{word})",
|
|
519
|
+
"end": "(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
520
520
|
"patterns": [
|
|
521
521
|
{
|
|
522
522
|
"include": "#declModule"
|
|
@@ -524,8 +524,8 @@
|
|
|
524
524
|
]
|
|
525
525
|
},
|
|
526
526
|
{
|
|
527
|
-
"begin": "(
|
|
528
|
-
"end": "(?=\\bin\\b)|(
|
|
527
|
+
"begin": "(?<=(?:\\P{word}open|^open))(?!\\p{word})",
|
|
528
|
+
"end": "(?=\\bin\\b)|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
529
529
|
"patterns": [
|
|
530
530
|
{
|
|
531
531
|
"include": "#pathModuleSimple"
|
|
@@ -533,8 +533,8 @@
|
|
|
533
533
|
]
|
|
534
534
|
},
|
|
535
535
|
{
|
|
536
|
-
"begin": "(
|
|
537
|
-
"end": "(?<![
|
|
536
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
537
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])=(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
538
538
|
"endCaptures": {
|
|
539
539
|
"0": {
|
|
540
540
|
"name": "support.type strong"
|
|
@@ -542,8 +542,8 @@
|
|
|
542
542
|
},
|
|
543
543
|
"patterns": [
|
|
544
544
|
{
|
|
545
|
-
"begin": "(
|
|
546
|
-
"end": "\\btype\\b|(
|
|
545
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
546
|
+
"end": "\\btype\\b|(?=\\S)",
|
|
547
547
|
"endCaptures": {
|
|
548
548
|
"0": {
|
|
549
549
|
"name": "keyword.control"
|
|
@@ -551,8 +551,8 @@
|
|
|
551
551
|
}
|
|
552
552
|
},
|
|
553
553
|
{
|
|
554
|
-
"begin": "(
|
|
555
|
-
"end": "(?<![
|
|
554
|
+
"begin": "(?<=(?:\\P{word}type|^type))(?!\\p{word})",
|
|
555
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])\\.(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
556
556
|
"endCaptures": {
|
|
557
557
|
"0": {
|
|
558
558
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
@@ -570,8 +570,8 @@
|
|
|
570
570
|
]
|
|
571
571
|
},
|
|
572
572
|
{
|
|
573
|
-
"begin": "(
|
|
574
|
-
"end": "\\band\\b|(
|
|
573
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
574
|
+
"end": "\\band\\b|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
575
575
|
"endCaptures": {
|
|
576
576
|
"0": {
|
|
577
577
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp markup.underline"
|
|
@@ -589,13 +589,13 @@
|
|
|
589
589
|
"patterns": [
|
|
590
590
|
{
|
|
591
591
|
"applyEndPatternLast": true,
|
|
592
|
-
"begin": "
|
|
592
|
+
"begin": "[~?]",
|
|
593
593
|
"beginCaptures": {
|
|
594
594
|
"0": {
|
|
595
595
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
596
596
|
}
|
|
597
597
|
},
|
|
598
|
-
"end": ":|(
|
|
598
|
+
"end": ":|(?=\\S)",
|
|
599
599
|
"endCaptures": {
|
|
600
600
|
"0": {
|
|
601
601
|
"name": "keyword"
|
|
@@ -603,8 +603,8 @@
|
|
|
603
603
|
},
|
|
604
604
|
"patterns": [
|
|
605
605
|
{
|
|
606
|
-
"begin": "(
|
|
607
|
-
"end": "(
|
|
606
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]~|^~|[^#\\-:!?.@*/\\&%\\^+<=>|~$]\\?|^\\?))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
607
|
+
"end": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*|(?<=\\))",
|
|
608
608
|
"endCaptures": {
|
|
609
609
|
"0": {
|
|
610
610
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename"
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
"patterns": [
|
|
626
626
|
{
|
|
627
627
|
"begin": "(?<=\\()",
|
|
628
|
-
"end": "
|
|
628
|
+
"end": "[:=]",
|
|
629
629
|
"endCaptures": {
|
|
630
630
|
"0": {
|
|
631
631
|
"name": "keyword"
|
|
@@ -633,7 +633,7 @@
|
|
|
633
633
|
},
|
|
634
634
|
"patterns": [
|
|
635
635
|
{
|
|
636
|
-
"match": "(
|
|
636
|
+
"match": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
637
637
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename"
|
|
638
638
|
}
|
|
639
639
|
]
|
|
@@ -653,7 +653,7 @@
|
|
|
653
653
|
]
|
|
654
654
|
},
|
|
655
655
|
{
|
|
656
|
-
"begin": "(
|
|
656
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
657
657
|
"end": "(?=\\))",
|
|
658
658
|
"patterns": [
|
|
659
659
|
{
|
|
@@ -675,8 +675,8 @@
|
|
|
675
675
|
"bindType": {
|
|
676
676
|
"patterns": [
|
|
677
677
|
{
|
|
678
|
-
"begin": "(
|
|
679
|
-
"end": "(?<![
|
|
678
|
+
"begin": "(?<=(?:\\P{word}|^)(?:and|type))(?!\\p{word})",
|
|
679
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])\\+=|=(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
680
680
|
"endCaptures": {
|
|
681
681
|
"0": {
|
|
682
682
|
"name": "support.type strong"
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
"include": "#pathType"
|
|
691
691
|
},
|
|
692
692
|
{
|
|
693
|
-
"match": "(
|
|
693
|
+
"match": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
694
694
|
"name": "entity.name.function strong"
|
|
695
695
|
},
|
|
696
696
|
{
|
|
@@ -699,8 +699,8 @@
|
|
|
699
699
|
]
|
|
700
700
|
},
|
|
701
701
|
{
|
|
702
|
-
"begin": "(
|
|
703
|
-
"end": "\\band\\b|(
|
|
702
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]\\+=|^\\+=|[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
703
|
+
"end": "\\band\\b|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
704
704
|
"endCaptures": {
|
|
705
705
|
"0": {
|
|
706
706
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp markup.underline"
|
|
@@ -731,7 +731,7 @@
|
|
|
731
731
|
]
|
|
732
732
|
},
|
|
733
733
|
"commentBlock": {
|
|
734
|
-
"begin": "\\(\\*(?!\\*[
|
|
734
|
+
"begin": "\\(\\*(?!\\*[^)])",
|
|
735
735
|
"contentName": "emphasis",
|
|
736
736
|
"end": "\\*\\)",
|
|
737
737
|
"name": "comment constant.regexp meta.separator.markdown",
|
|
@@ -789,7 +789,7 @@
|
|
|
789
789
|
"name": "entity.name.class constant.numeric markup.underline"
|
|
790
790
|
}
|
|
791
791
|
},
|
|
792
|
-
"end": ";;|(
|
|
792
|
+
"end": ";;|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
793
793
|
"endCaptures": {
|
|
794
794
|
"0": {
|
|
795
795
|
"name": "punctuation.definition.tag"
|
|
@@ -803,13 +803,13 @@
|
|
|
803
803
|
"include": "#pragma"
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
|
-
"begin": "(
|
|
806
|
+
"begin": "(?<=(?:\\P{word}class|^class))(?!\\p{word})",
|
|
807
807
|
"beginCaptures": {
|
|
808
808
|
"0": {
|
|
809
809
|
"name": "entity.name.class constant.numeric markup.underline"
|
|
810
810
|
}
|
|
811
811
|
},
|
|
812
|
-
"end": "\\btype\\b|(
|
|
812
|
+
"end": "\\btype\\b|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|val)\\b)",
|
|
813
813
|
"endCaptures": {
|
|
814
814
|
"0": {
|
|
815
815
|
"name": "keyword"
|
|
@@ -822,8 +822,8 @@
|
|
|
822
822
|
]
|
|
823
823
|
},
|
|
824
824
|
{
|
|
825
|
-
"begin": "(
|
|
826
|
-
"end": "(
|
|
825
|
+
"begin": "(?<=(?:\\P{word}type|^type))(?!\\p{word})",
|
|
826
|
+
"end": "(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
827
827
|
"patterns": [
|
|
828
828
|
{
|
|
829
829
|
"include": "#bindClassType"
|
|
@@ -839,7 +839,7 @@
|
|
|
839
839
|
"name": "keyword markup.underline"
|
|
840
840
|
}
|
|
841
841
|
},
|
|
842
|
-
"end": ";;|(
|
|
842
|
+
"end": ";;|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
843
843
|
"endCaptures": {
|
|
844
844
|
"0": {
|
|
845
845
|
"name": "punctuation.definition.tag"
|
|
@@ -867,7 +867,7 @@
|
|
|
867
867
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
868
868
|
}
|
|
869
869
|
},
|
|
870
|
-
"end": ";;|(
|
|
870
|
+
"end": ";;|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
871
871
|
"endCaptures": {
|
|
872
872
|
"0": {
|
|
873
873
|
"name": "punctuation.definition.tag"
|
|
@@ -889,13 +889,13 @@
|
|
|
889
889
|
]
|
|
890
890
|
},
|
|
891
891
|
"declModule": {
|
|
892
|
-
"begin": "(
|
|
892
|
+
"begin": "(?<=(?:\\P{word}module|^module))(?!\\p{word})|\\bmodule\\b",
|
|
893
893
|
"beginCaptures": {
|
|
894
894
|
"0": {
|
|
895
895
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename markup.underline"
|
|
896
896
|
}
|
|
897
897
|
},
|
|
898
|
-
"end": ";;|(
|
|
898
|
+
"end": ";;|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
899
899
|
"endCaptures": {
|
|
900
900
|
"0": {
|
|
901
901
|
"name": "punctuation.definition.tag"
|
|
@@ -909,8 +909,8 @@
|
|
|
909
909
|
"include": "#pragma"
|
|
910
910
|
},
|
|
911
911
|
{
|
|
912
|
-
"begin": "(
|
|
913
|
-
"end": "(\\btype\\b)|(
|
|
912
|
+
"begin": "(?<=(?:\\P{word}module|^module))(?!\\p{word})",
|
|
913
|
+
"end": "(\\btype\\b)|(?=\\p{upper})",
|
|
914
914
|
"endCaptures": {
|
|
915
915
|
"0": {
|
|
916
916
|
"name": "keyword"
|
|
@@ -930,8 +930,8 @@
|
|
|
930
930
|
]
|
|
931
931
|
},
|
|
932
932
|
{
|
|
933
|
-
"begin": "(
|
|
934
|
-
"end": "(
|
|
933
|
+
"begin": "(?<=(?:\\P{word}type|^type))(?!\\p{word})",
|
|
934
|
+
"end": "(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
935
935
|
"patterns": [
|
|
936
936
|
{
|
|
937
937
|
"include": "#bindSignature"
|
|
@@ -939,8 +939,8 @@
|
|
|
939
939
|
]
|
|
940
940
|
},
|
|
941
941
|
{
|
|
942
|
-
"begin": "(
|
|
943
|
-
"end": "(
|
|
942
|
+
"begin": "(?=\\p{upper})",
|
|
943
|
+
"end": "(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
944
944
|
"patterns": [
|
|
945
945
|
{
|
|
946
946
|
"include": "#bindStructure"
|
|
@@ -956,7 +956,7 @@
|
|
|
956
956
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
957
957
|
}
|
|
958
958
|
},
|
|
959
|
-
"end": ";;|(
|
|
959
|
+
"end": ";;|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
960
960
|
"endCaptures": {
|
|
961
961
|
"0": {
|
|
962
962
|
"name": "punctuation.definition.tag"
|
|
@@ -993,7 +993,7 @@
|
|
|
993
993
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
994
994
|
}
|
|
995
995
|
},
|
|
996
|
-
"end": ";;|(
|
|
996
|
+
"end": ";;|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
997
997
|
"endCaptures": {
|
|
998
998
|
"0": {
|
|
999
999
|
"name": "punctuation.definition.tag"
|
|
@@ -1012,13 +1012,13 @@
|
|
|
1012
1012
|
]
|
|
1013
1013
|
},
|
|
1014
1014
|
"declType": {
|
|
1015
|
-
"begin": "(
|
|
1015
|
+
"begin": "(?<=(?:\\P{word}type|^type))(?!\\p{word})|\\btype\\b",
|
|
1016
1016
|
"beginCaptures": {
|
|
1017
1017
|
"0": {
|
|
1018
1018
|
"name": "keyword markup.underline"
|
|
1019
1019
|
}
|
|
1020
1020
|
},
|
|
1021
|
-
"end": ";;|(
|
|
1021
|
+
"end": ";;|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
1022
1022
|
"endCaptures": {
|
|
1023
1023
|
"0": {
|
|
1024
1024
|
"name": "punctuation.definition.tag"
|
|
@@ -1037,7 +1037,7 @@
|
|
|
1037
1037
|
]
|
|
1038
1038
|
},
|
|
1039
1039
|
"extension": {
|
|
1040
|
-
"begin": "(\\[)((?<![
|
|
1040
|
+
"begin": "(\\[)((?<![#\\-:!?.@*/\\&%\\^+<=>|~$])%{1,3}(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))",
|
|
1041
1041
|
"beginCaptures": {
|
|
1042
1042
|
"1": {
|
|
1043
1043
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong"
|
|
@@ -1046,7 +1046,7 @@
|
|
|
1046
1046
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
1047
1047
|
}
|
|
1048
1048
|
},
|
|
1049
|
-
"end": "
|
|
1049
|
+
"end": "]",
|
|
1050
1050
|
"endCaptures": {
|
|
1051
1051
|
"0": {
|
|
1052
1052
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong"
|
|
@@ -1099,7 +1099,7 @@
|
|
|
1099
1099
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong"
|
|
1100
1100
|
}
|
|
1101
1101
|
},
|
|
1102
|
-
"end": "
|
|
1102
|
+
"end": "\\|]",
|
|
1103
1103
|
"patterns": [
|
|
1104
1104
|
{
|
|
1105
1105
|
"include": "#term"
|
|
@@ -1111,7 +1111,7 @@
|
|
|
1111
1111
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong"
|
|
1112
1112
|
},
|
|
1113
1113
|
"literalCharacter": {
|
|
1114
|
-
"begin": "(
|
|
1114
|
+
"begin": "(?<!\\p{word})'",
|
|
1115
1115
|
"end": "'",
|
|
1116
1116
|
"name": "markup.punctuation.quote.beginning",
|
|
1117
1117
|
"patterns": [
|
|
@@ -1121,7 +1121,7 @@
|
|
|
1121
1121
|
]
|
|
1122
1122
|
},
|
|
1123
1123
|
"literalCharacterEscape": {
|
|
1124
|
-
"match": "\\\\(?:[\\\\\"'ntbr]|
|
|
1124
|
+
"match": "\\\\(?:[\\\\\"'ntbr]|\\d\\d\\d|x\\h\\h|o[0-3][0-7][0-7])"
|
|
1125
1125
|
},
|
|
1126
1126
|
"literalClassType": {
|
|
1127
1127
|
"patterns": [
|
|
@@ -1144,7 +1144,7 @@
|
|
|
1144
1144
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
1145
1145
|
}
|
|
1146
1146
|
},
|
|
1147
|
-
"end": ";;|(
|
|
1147
|
+
"end": ";;|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
1148
1148
|
"endCaptures": {
|
|
1149
1149
|
"0": {
|
|
1150
1150
|
"name": "punctuation.definition.tag"
|
|
@@ -1158,7 +1158,7 @@
|
|
|
1158
1158
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
1159
1159
|
}
|
|
1160
1160
|
},
|
|
1161
|
-
"end": ";;|(
|
|
1161
|
+
"end": ";;|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
1162
1162
|
"patterns": [
|
|
1163
1163
|
{
|
|
1164
1164
|
"include": "#variablePattern"
|
|
@@ -1180,7 +1180,7 @@
|
|
|
1180
1180
|
},
|
|
1181
1181
|
{
|
|
1182
1182
|
"begin": "\\[",
|
|
1183
|
-
"end": "
|
|
1183
|
+
"end": "]"
|
|
1184
1184
|
}
|
|
1185
1185
|
]
|
|
1186
1186
|
},
|
|
@@ -1193,7 +1193,7 @@
|
|
|
1193
1193
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong"
|
|
1194
1194
|
}
|
|
1195
1195
|
},
|
|
1196
|
-
"end": "
|
|
1196
|
+
"end": "]",
|
|
1197
1197
|
"patterns": [
|
|
1198
1198
|
{
|
|
1199
1199
|
"include": "#term"
|
|
@@ -1203,7 +1203,7 @@
|
|
|
1203
1203
|
]
|
|
1204
1204
|
},
|
|
1205
1205
|
"literalNumber": {
|
|
1206
|
-
"match": "(
|
|
1206
|
+
"match": "(?<!\\p{alpha})\\d\\d*(\\.\\d\\d*)?",
|
|
1207
1207
|
"name": "constant.numeric"
|
|
1208
1208
|
},
|
|
1209
1209
|
"literalObjectTerm": {
|
|
@@ -1227,7 +1227,7 @@
|
|
|
1227
1227
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
1228
1228
|
}
|
|
1229
1229
|
},
|
|
1230
|
-
"end": ";;|(
|
|
1230
|
+
"end": ";;|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
1231
1231
|
"endCaptures": {
|
|
1232
1232
|
"0": {
|
|
1233
1233
|
"name": "punctuation.definition.tag"
|
|
@@ -1241,7 +1241,7 @@
|
|
|
1241
1241
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
1242
1242
|
}
|
|
1243
1243
|
},
|
|
1244
|
-
"end": ";;|(
|
|
1244
|
+
"end": ";;|(?=[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
1245
1245
|
"patterns": [
|
|
1246
1246
|
{
|
|
1247
1247
|
"include": "#variablePattern"
|
|
@@ -1263,7 +1263,7 @@
|
|
|
1263
1263
|
},
|
|
1264
1264
|
{
|
|
1265
1265
|
"begin": "\\[",
|
|
1266
|
-
"end": "
|
|
1266
|
+
"end": "]"
|
|
1267
1267
|
}
|
|
1268
1268
|
]
|
|
1269
1269
|
},
|
|
@@ -1274,11 +1274,11 @@
|
|
|
1274
1274
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong strong"
|
|
1275
1275
|
}
|
|
1276
1276
|
},
|
|
1277
|
-
"end": "
|
|
1277
|
+
"end": "}",
|
|
1278
1278
|
"patterns": [
|
|
1279
1279
|
{
|
|
1280
|
-
"begin": "(
|
|
1281
|
-
"end": "(:)|(=)|(;)|(with)|(
|
|
1280
|
+
"begin": "(?<=[{;])",
|
|
1281
|
+
"end": "(:)|(=)|(;)|(with)|(?=})",
|
|
1282
1282
|
"endCaptures": {
|
|
1283
1283
|
"1": {
|
|
1284
1284
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -1301,14 +1301,14 @@
|
|
|
1301
1301
|
"include": "#pathModulePrefixSimple"
|
|
1302
1302
|
},
|
|
1303
1303
|
{
|
|
1304
|
-
"match": "(
|
|
1304
|
+
"match": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
1305
1305
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename emphasis"
|
|
1306
1306
|
}
|
|
1307
1307
|
]
|
|
1308
1308
|
},
|
|
1309
1309
|
{
|
|
1310
|
-
"begin": "(
|
|
1311
|
-
"end": "(:)|(=)|(;)|(
|
|
1310
|
+
"begin": "(?<=(?:\\P{word}with|^with))(?!\\p{word})",
|
|
1311
|
+
"end": "(:)|(=)|(;)|(?=})",
|
|
1312
1312
|
"endCaptures": {
|
|
1313
1313
|
"1": {
|
|
1314
1314
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -1322,14 +1322,14 @@
|
|
|
1322
1322
|
},
|
|
1323
1323
|
"patterns": [
|
|
1324
1324
|
{
|
|
1325
|
-
"match": "(
|
|
1325
|
+
"match": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
1326
1326
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename emphasis"
|
|
1327
1327
|
}
|
|
1328
1328
|
]
|
|
1329
1329
|
},
|
|
1330
1330
|
{
|
|
1331
|
-
"begin": "(
|
|
1332
|
-
"end": "(;)|(=)|(
|
|
1331
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1332
|
+
"end": "(;)|(=)|(?=})",
|
|
1333
1333
|
"endCaptures": {
|
|
1334
1334
|
"1": {
|
|
1335
1335
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
@@ -1345,8 +1345,8 @@
|
|
|
1345
1345
|
]
|
|
1346
1346
|
},
|
|
1347
1347
|
{
|
|
1348
|
-
"begin": "(
|
|
1349
|
-
"end": ";|(
|
|
1348
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1349
|
+
"end": ";|(?=})",
|
|
1350
1350
|
"endCaptures": {
|
|
1351
1351
|
"0": {
|
|
1352
1352
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
@@ -1374,7 +1374,7 @@
|
|
|
1374
1374
|
},
|
|
1375
1375
|
{
|
|
1376
1376
|
"begin": "(\\{)([_[:lower:]]*?)(\\|)",
|
|
1377
|
-
"end": "(\\|)(\\2)(
|
|
1377
|
+
"end": "(\\|)(\\2)(})",
|
|
1378
1378
|
"name": "string beginning.punctuation.definition.quote.markdown",
|
|
1379
1379
|
"patterns": [
|
|
1380
1380
|
{
|
|
@@ -1385,7 +1385,7 @@
|
|
|
1385
1385
|
]
|
|
1386
1386
|
},
|
|
1387
1387
|
"literalStringEscape": {
|
|
1388
|
-
"match": "\\\\(?:[\\\\\"ntbr]|
|
|
1388
|
+
"match": "\\\\(?:[\\\\\"ntbr]|\\d\\d\\d|x\\h\\h|o[0-3][0-7][0-7])"
|
|
1389
1389
|
},
|
|
1390
1390
|
"literalUnit": {
|
|
1391
1391
|
"match": "\\(\\)",
|
|
@@ -1397,19 +1397,19 @@
|
|
|
1397
1397
|
"include": "#pathModulePrefixExtended"
|
|
1398
1398
|
},
|
|
1399
1399
|
{
|
|
1400
|
-
"match": "
|
|
1400
|
+
"match": "\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*",
|
|
1401
1401
|
"name": "entity.name.class constant.numeric"
|
|
1402
1402
|
}
|
|
1403
1403
|
]
|
|
1404
1404
|
},
|
|
1405
1405
|
"pathModulePrefixExtended": {
|
|
1406
|
-
"begin": "
|
|
1406
|
+
"begin": "\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*(?=\\s*\\.|$|\\()",
|
|
1407
1407
|
"beginCaptures": {
|
|
1408
1408
|
"0": {
|
|
1409
1409
|
"name": "entity.name.class constant.numeric"
|
|
1410
1410
|
}
|
|
1411
1411
|
},
|
|
1412
|
-
"end": "(?![
|
|
1412
|
+
"end": "(?![\\s.]|$|\\()",
|
|
1413
1413
|
"patterns": [
|
|
1414
1414
|
{
|
|
1415
1415
|
"include": "#comment"
|
|
@@ -1424,7 +1424,7 @@
|
|
|
1424
1424
|
"end": "\\)",
|
|
1425
1425
|
"patterns": [
|
|
1426
1426
|
{
|
|
1427
|
-
"match": "(
|
|
1427
|
+
"match": "(\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*(?=\\s*\\)))",
|
|
1428
1428
|
"name": "string.other.link variable.language variable.parameter emphasis"
|
|
1429
1429
|
},
|
|
1430
1430
|
{
|
|
@@ -1433,13 +1433,13 @@
|
|
|
1433
1433
|
]
|
|
1434
1434
|
},
|
|
1435
1435
|
{
|
|
1436
|
-
"begin": "(?<![
|
|
1436
|
+
"begin": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])\\.(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1437
1437
|
"beginCaptures": {
|
|
1438
1438
|
"0": {
|
|
1439
1439
|
"name": "keyword strong"
|
|
1440
1440
|
}
|
|
1441
1441
|
},
|
|
1442
|
-
"end": "(
|
|
1442
|
+
"end": "(\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*(?=\\s*\\.|$))|(\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*(?=\\s*(?:$|\\()))|(\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*(?=\\s*\\)))|(?![\\s.[:upper:]]|$|\\()",
|
|
1443
1443
|
"endCaptures": {
|
|
1444
1444
|
"1": {
|
|
1445
1445
|
"name": "entity.name.class constant.numeric"
|
|
@@ -1464,7 +1464,7 @@
|
|
|
1464
1464
|
"end": "\\)",
|
|
1465
1465
|
"patterns": [
|
|
1466
1466
|
{
|
|
1467
|
-
"match": "(
|
|
1467
|
+
"match": "(\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*(?=\\s*\\)))",
|
|
1468
1468
|
"name": "string.other.link variable.language variable.parameter emphasis"
|
|
1469
1469
|
},
|
|
1470
1470
|
{
|
|
@@ -1473,25 +1473,25 @@
|
|
|
1473
1473
|
]
|
|
1474
1474
|
},
|
|
1475
1475
|
"pathModulePrefixSimple": {
|
|
1476
|
-
"begin": "
|
|
1476
|
+
"begin": "\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*(?=\\s*\\.)",
|
|
1477
1477
|
"beginCaptures": {
|
|
1478
1478
|
"0": {
|
|
1479
1479
|
"name": "entity.name.class constant.numeric"
|
|
1480
1480
|
}
|
|
1481
1481
|
},
|
|
1482
|
-
"end": "(?![
|
|
1482
|
+
"end": "(?![\\s.])",
|
|
1483
1483
|
"patterns": [
|
|
1484
1484
|
{
|
|
1485
1485
|
"include": "#comment"
|
|
1486
1486
|
},
|
|
1487
1487
|
{
|
|
1488
|
-
"begin": "(?<![
|
|
1488
|
+
"begin": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])\\.(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1489
1489
|
"beginCaptures": {
|
|
1490
1490
|
"0": {
|
|
1491
1491
|
"name": "keyword strong"
|
|
1492
1492
|
}
|
|
1493
1493
|
},
|
|
1494
|
-
"end": "(
|
|
1494
|
+
"end": "(\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*(?=\\s*\\.))|(\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*(?=\\s*))|(?![\\s.[:upper:]])",
|
|
1495
1495
|
"endCaptures": {
|
|
1496
1496
|
"1": {
|
|
1497
1497
|
"name": "entity.name.class constant.numeric"
|
|
@@ -1509,7 +1509,7 @@
|
|
|
1509
1509
|
"include": "#pathModulePrefixSimple"
|
|
1510
1510
|
},
|
|
1511
1511
|
{
|
|
1512
|
-
"match": "
|
|
1512
|
+
"match": "\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*",
|
|
1513
1513
|
"name": "entity.name.class constant.numeric"
|
|
1514
1514
|
}
|
|
1515
1515
|
]
|
|
@@ -1517,20 +1517,20 @@
|
|
|
1517
1517
|
"pathRecord": {
|
|
1518
1518
|
"patterns": [
|
|
1519
1519
|
{
|
|
1520
|
-
"begin": "(
|
|
1521
|
-
"end": "(?=[
|
|
1520
|
+
"begin": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
1521
|
+
"end": "(?=[^\\s.])(?!\\(\\*)",
|
|
1522
1522
|
"patterns": [
|
|
1523
1523
|
{
|
|
1524
1524
|
"include": "#comment"
|
|
1525
1525
|
},
|
|
1526
1526
|
{
|
|
1527
|
-
"begin": "(
|
|
1527
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]\\.|^\\.))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])\\.(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1528
1528
|
"beginCaptures": {
|
|
1529
1529
|
"0": {
|
|
1530
1530
|
"name": "keyword strong"
|
|
1531
1531
|
}
|
|
1532
1532
|
},
|
|
1533
|
-
"end": "((?<![
|
|
1533
|
+
"end": "((?<![#\\-:!?.@*/\\&%\\^+<=>|~$])\\.(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))|((?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|mutable|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*)|(?<=\\))|(?<=])",
|
|
1534
1534
|
"endCaptures": {
|
|
1535
1535
|
"1": {
|
|
1536
1536
|
"name": "keyword strong"
|
|
@@ -1567,7 +1567,7 @@
|
|
|
1567
1567
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
1568
1568
|
}
|
|
1569
1569
|
},
|
|
1570
|
-
"end": "
|
|
1570
|
+
"end": "]",
|
|
1571
1571
|
"patterns": [
|
|
1572
1572
|
{
|
|
1573
1573
|
"include": "#pattern"
|
|
@@ -1627,7 +1627,7 @@
|
|
|
1627
1627
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong"
|
|
1628
1628
|
}
|
|
1629
1629
|
},
|
|
1630
|
-
"end": "
|
|
1630
|
+
"end": "\\|]",
|
|
1631
1631
|
"patterns": [
|
|
1632
1632
|
{
|
|
1633
1633
|
"include": "#pattern"
|
|
@@ -1645,7 +1645,7 @@
|
|
|
1645
1645
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong"
|
|
1646
1646
|
}
|
|
1647
1647
|
},
|
|
1648
|
-
"end": "
|
|
1648
|
+
"end": "]",
|
|
1649
1649
|
"patterns": [
|
|
1650
1650
|
{
|
|
1651
1651
|
"include": "#pattern"
|
|
@@ -1664,7 +1664,7 @@
|
|
|
1664
1664
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
1665
1665
|
}
|
|
1666
1666
|
},
|
|
1667
|
-
"match": "((?<![
|
|
1667
|
+
"match": "((?<![#\\-:!?.@*/\\&%\\^+<=>|~$]),(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))|([#\\-:!?.@*/\\&%\\^+<=>|~$]+)|\\b(as)\\b"
|
|
1668
1668
|
},
|
|
1669
1669
|
"patternModule": {
|
|
1670
1670
|
"begin": "\\bmodule\\b",
|
|
@@ -1693,7 +1693,7 @@
|
|
|
1693
1693
|
"include": "#comment"
|
|
1694
1694
|
},
|
|
1695
1695
|
{
|
|
1696
|
-
"begin": "(?<![
|
|
1696
|
+
"begin": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$]):(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1697
1697
|
"beginCaptures": {
|
|
1698
1698
|
"0": {
|
|
1699
1699
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -1718,11 +1718,11 @@
|
|
|
1718
1718
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong strong"
|
|
1719
1719
|
}
|
|
1720
1720
|
},
|
|
1721
|
-
"end": "
|
|
1721
|
+
"end": "}",
|
|
1722
1722
|
"patterns": [
|
|
1723
1723
|
{
|
|
1724
|
-
"begin": "(
|
|
1725
|
-
"end": "(:)|(=)|(;)|(with)|(
|
|
1724
|
+
"begin": "(?<=[{;])",
|
|
1725
|
+
"end": "(:)|(=)|(;)|(with)|(?=})",
|
|
1726
1726
|
"endCaptures": {
|
|
1727
1727
|
"1": {
|
|
1728
1728
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -1745,14 +1745,14 @@
|
|
|
1745
1745
|
"include": "#pathModulePrefixSimple"
|
|
1746
1746
|
},
|
|
1747
1747
|
{
|
|
1748
|
-
"match": "(
|
|
1748
|
+
"match": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
1749
1749
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename emphasis"
|
|
1750
1750
|
}
|
|
1751
1751
|
]
|
|
1752
1752
|
},
|
|
1753
1753
|
{
|
|
1754
|
-
"begin": "(
|
|
1755
|
-
"end": "(:)|(=)|(;)|(
|
|
1754
|
+
"begin": "(?<=(?:\\P{word}with|^with))(?!\\p{word})",
|
|
1755
|
+
"end": "(:)|(=)|(;)|(?=})",
|
|
1756
1756
|
"endCaptures": {
|
|
1757
1757
|
"1": {
|
|
1758
1758
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -1766,14 +1766,14 @@
|
|
|
1766
1766
|
},
|
|
1767
1767
|
"patterns": [
|
|
1768
1768
|
{
|
|
1769
|
-
"match": "(
|
|
1769
|
+
"match": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
1770
1770
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename emphasis"
|
|
1771
1771
|
}
|
|
1772
1772
|
]
|
|
1773
1773
|
},
|
|
1774
1774
|
{
|
|
1775
|
-
"begin": "(
|
|
1776
|
-
"end": "(;)|(=)|(
|
|
1775
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1776
|
+
"end": "(;)|(=)|(?=})",
|
|
1777
1777
|
"endCaptures": {
|
|
1778
1778
|
"1": {
|
|
1779
1779
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
@@ -1789,8 +1789,8 @@
|
|
|
1789
1789
|
]
|
|
1790
1790
|
},
|
|
1791
1791
|
{
|
|
1792
|
-
"begin": "(
|
|
1793
|
-
"end": ";|(
|
|
1792
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1793
|
+
"end": ";|(?=})",
|
|
1794
1794
|
"endCaptures": {
|
|
1795
1795
|
"0": {
|
|
1796
1796
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
@@ -1819,13 +1819,13 @@
|
|
|
1819
1819
|
]
|
|
1820
1820
|
},
|
|
1821
1821
|
"pragma": {
|
|
1822
|
-
"begin": "(?<![
|
|
1822
|
+
"begin": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])#(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1823
1823
|
"beginCaptures": {
|
|
1824
1824
|
"0": {
|
|
1825
1825
|
"name": "punctuation.definition.tag"
|
|
1826
1826
|
}
|
|
1827
1827
|
},
|
|
1828
|
-
"end": "(
|
|
1828
|
+
"end": "(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
1829
1829
|
"patterns": [
|
|
1830
1830
|
{
|
|
1831
1831
|
"include": "#comment"
|
|
@@ -1870,10 +1870,10 @@
|
|
|
1870
1870
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp markup.underline"
|
|
1871
1871
|
}
|
|
1872
1872
|
},
|
|
1873
|
-
"end": "(?=\\))|(
|
|
1873
|
+
"end": "(?=\\))|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
1874
1874
|
"patterns": [
|
|
1875
1875
|
{
|
|
1876
|
-
"begin": "(
|
|
1876
|
+
"begin": "(?<=(?:\\P{word}with|^with))(?!\\p{word})",
|
|
1877
1877
|
"end": "\\b(?:(module)|(type))\\b",
|
|
1878
1878
|
"endCaptures": {
|
|
1879
1879
|
"1": {
|
|
@@ -1901,10 +1901,10 @@
|
|
|
1901
1901
|
"name": "keyword"
|
|
1902
1902
|
}
|
|
1903
1903
|
},
|
|
1904
|
-
"end": "(
|
|
1904
|
+
"end": "(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
1905
1905
|
"patterns": [
|
|
1906
1906
|
{
|
|
1907
|
-
"begin": "(
|
|
1907
|
+
"begin": "(?<=(?:\\P{word}functor|^functor))(?!\\p{word})",
|
|
1908
1908
|
"end": "(\\(\\))|(\\((?!\\)))",
|
|
1909
1909
|
"endCaptures": {
|
|
1910
1910
|
"1": {
|
|
@@ -1933,7 +1933,7 @@
|
|
|
1933
1933
|
]
|
|
1934
1934
|
},
|
|
1935
1935
|
{
|
|
1936
|
-
"begin": "(
|
|
1936
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1937
1937
|
"end": "\\)",
|
|
1938
1938
|
"endCaptures": {
|
|
1939
1939
|
"0": {
|
|
@@ -1948,7 +1948,7 @@
|
|
|
1948
1948
|
},
|
|
1949
1949
|
{
|
|
1950
1950
|
"begin": "(?<=\\))",
|
|
1951
|
-
"end": "(\\()|((?<![
|
|
1951
|
+
"end": "(\\()|((?<![#\\-:!?.@*/\\&%\\^+<=>|~$])->(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))",
|
|
1952
1952
|
"endCaptures": {
|
|
1953
1953
|
"1": {
|
|
1954
1954
|
"name": "punctuation.definition.tag"
|
|
@@ -1959,8 +1959,8 @@
|
|
|
1959
1959
|
}
|
|
1960
1960
|
},
|
|
1961
1961
|
{
|
|
1962
|
-
"begin": "(
|
|
1963
|
-
"end": "(
|
|
1962
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]->|^->))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1963
|
+
"end": "(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
1964
1964
|
"patterns": [
|
|
1965
1965
|
{
|
|
1966
1966
|
"include": "#signature"
|
|
@@ -1970,7 +1970,7 @@
|
|
|
1970
1970
|
]
|
|
1971
1971
|
},
|
|
1972
1972
|
{
|
|
1973
|
-
"match": "(?<![
|
|
1973
|
+
"match": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])->(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
1974
1974
|
"name": "support.type strong"
|
|
1975
1975
|
}
|
|
1976
1976
|
]
|
|
@@ -2008,7 +2008,7 @@
|
|
|
2008
2008
|
"include": "#comment"
|
|
2009
2009
|
},
|
|
2010
2010
|
{
|
|
2011
|
-
"begin": "(?<![
|
|
2011
|
+
"begin": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$]):(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2012
2012
|
"beginCaptures": {
|
|
2013
2013
|
"0": {
|
|
2014
2014
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -2029,8 +2029,8 @@
|
|
|
2029
2029
|
"signatureRecovered": {
|
|
2030
2030
|
"patterns": [
|
|
2031
2031
|
{
|
|
2032
|
-
"begin": "\\(|(
|
|
2033
|
-
"end": "\\bmodule\\b|(
|
|
2032
|
+
"begin": "\\(|(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:|[^#\\-:!?.@*/\\&%\\^+<=>|~$]->|^->))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?<=(?:\\P{word}|^)(?:include|open))(?!\\p{word})",
|
|
2033
|
+
"end": "\\bmodule\\b|(?!$|\\s|\\bmodule\\b)",
|
|
2034
2034
|
"endCaptures": {
|
|
2035
2035
|
"0": {
|
|
2036
2036
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename"
|
|
@@ -2038,11 +2038,11 @@
|
|
|
2038
2038
|
}
|
|
2039
2039
|
},
|
|
2040
2040
|
{
|
|
2041
|
-
"begin": "(
|
|
2042
|
-
"end": "(
|
|
2041
|
+
"begin": "(?<=(?:\\P{word}module|^module))(?!\\p{word})",
|
|
2042
|
+
"end": "(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
2043
2043
|
"patterns": [
|
|
2044
2044
|
{
|
|
2045
|
-
"begin": "(
|
|
2045
|
+
"begin": "(?<=(?:\\P{word}module|^module))(?!\\p{word})",
|
|
2046
2046
|
"end": "\\btype\\b",
|
|
2047
2047
|
"endCaptures": {
|
|
2048
2048
|
"0": {
|
|
@@ -2051,7 +2051,7 @@
|
|
|
2051
2051
|
}
|
|
2052
2052
|
},
|
|
2053
2053
|
{
|
|
2054
|
-
"begin": "(
|
|
2054
|
+
"begin": "(?<=(?:\\P{word}type|^type))(?!\\p{word})",
|
|
2055
2055
|
"end": "\\bof\\b",
|
|
2056
2056
|
"endCaptures": {
|
|
2057
2057
|
"0": {
|
|
@@ -2060,8 +2060,8 @@
|
|
|
2060
2060
|
}
|
|
2061
2061
|
},
|
|
2062
2062
|
{
|
|
2063
|
-
"begin": "(
|
|
2064
|
-
"end": "(
|
|
2063
|
+
"begin": "(?<=(?:\\P{word}of|^of))(?!\\p{word})",
|
|
2064
|
+
"end": "(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
2065
2065
|
"patterns": [
|
|
2066
2066
|
{
|
|
2067
2067
|
"include": "#signature"
|
|
@@ -2100,10 +2100,10 @@
|
|
|
2100
2100
|
"name": "keyword"
|
|
2101
2101
|
}
|
|
2102
2102
|
},
|
|
2103
|
-
"end": "(
|
|
2103
|
+
"end": "(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
2104
2104
|
"patterns": [
|
|
2105
2105
|
{
|
|
2106
|
-
"begin": "(
|
|
2106
|
+
"begin": "(?<=(?:\\P{word}functor|^functor))(?!\\p{word})",
|
|
2107
2107
|
"end": "(\\(\\))|(\\((?!\\)))",
|
|
2108
2108
|
"endCaptures": {
|
|
2109
2109
|
"1": {
|
|
@@ -2132,7 +2132,7 @@
|
|
|
2132
2132
|
]
|
|
2133
2133
|
},
|
|
2134
2134
|
{
|
|
2135
|
-
"begin": "(
|
|
2135
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2136
2136
|
"end": "\\)",
|
|
2137
2137
|
"endCaptures": {
|
|
2138
2138
|
"0": {
|
|
@@ -2147,7 +2147,7 @@
|
|
|
2147
2147
|
},
|
|
2148
2148
|
{
|
|
2149
2149
|
"begin": "(?<=\\))",
|
|
2150
|
-
"end": "(\\()|((?<![
|
|
2150
|
+
"end": "(\\()|((?<![#\\-:!?.@*/\\&%\\^+<=>|~$])->(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))",
|
|
2151
2151
|
"endCaptures": {
|
|
2152
2152
|
"1": {
|
|
2153
2153
|
"name": "punctuation.definition.tag"
|
|
@@ -2158,8 +2158,8 @@
|
|
|
2158
2158
|
}
|
|
2159
2159
|
},
|
|
2160
2160
|
{
|
|
2161
|
-
"begin": "(
|
|
2162
|
-
"end": "(
|
|
2161
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]->|^->))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2162
|
+
"end": "(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
2163
2163
|
"patterns": [
|
|
2164
2164
|
{
|
|
2165
2165
|
"include": "#structure"
|
|
@@ -2169,7 +2169,7 @@
|
|
|
2169
2169
|
]
|
|
2170
2170
|
},
|
|
2171
2171
|
{
|
|
2172
|
-
"match": "(?<![
|
|
2172
|
+
"match": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])->(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2173
2173
|
"name": "support.type strong"
|
|
2174
2174
|
}
|
|
2175
2175
|
]
|
|
@@ -2286,7 +2286,7 @@
|
|
|
2286
2286
|
"include": "#pathModulePrefixSimple"
|
|
2287
2287
|
},
|
|
2288
2288
|
{
|
|
2289
|
-
"match": "
|
|
2289
|
+
"match": "\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*",
|
|
2290
2290
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong"
|
|
2291
2291
|
}
|
|
2292
2292
|
]
|
|
@@ -2343,8 +2343,8 @@
|
|
|
2343
2343
|
},
|
|
2344
2344
|
"patterns": [
|
|
2345
2345
|
{
|
|
2346
|
-
"begin": "(
|
|
2347
|
-
"end": "(?<![
|
|
2346
|
+
"begin": "(?<=(?:\\P{word}for|^for))(?!\\p{word})",
|
|
2347
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])=(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2348
2348
|
"endCaptures": {
|
|
2349
2349
|
"0": {
|
|
2350
2350
|
"name": "support.type strong"
|
|
@@ -2357,7 +2357,7 @@
|
|
|
2357
2357
|
]
|
|
2358
2358
|
},
|
|
2359
2359
|
{
|
|
2360
|
-
"begin": "(
|
|
2360
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2361
2361
|
"end": "\\b(?:downto|to)\\b",
|
|
2362
2362
|
"endCaptures": {
|
|
2363
2363
|
"0": {
|
|
@@ -2371,7 +2371,7 @@
|
|
|
2371
2371
|
]
|
|
2372
2372
|
},
|
|
2373
2373
|
{
|
|
2374
|
-
"begin": "(
|
|
2374
|
+
"begin": "(?<=(?:\\P{word}to|^to))(?!\\p{word})",
|
|
2375
2375
|
"end": "\\bdo\\b",
|
|
2376
2376
|
"endCaptures": {
|
|
2377
2377
|
"0": {
|
|
@@ -2385,7 +2385,7 @@
|
|
|
2385
2385
|
]
|
|
2386
2386
|
},
|
|
2387
2387
|
{
|
|
2388
|
-
"begin": "(
|
|
2388
|
+
"begin": "(?<=(?:\\P{word}do|^do))(?!\\p{word})",
|
|
2389
2389
|
"end": "(?=\\bdone\\b)",
|
|
2390
2390
|
"patterns": [
|
|
2391
2391
|
{
|
|
@@ -2411,8 +2411,8 @@
|
|
|
2411
2411
|
"termLet": {
|
|
2412
2412
|
"patterns": [
|
|
2413
2413
|
{
|
|
2414
|
-
"begin": "(?:(
|
|
2415
|
-
"end": "\\b(?:(and)|(let))\\b|(
|
|
2414
|
+
"begin": "(?:(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=|[^#\\-:!?.@*/\\&%\\^+<=>|~$]->|^->))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?<=[;(]))(?=\\s|\\blet\\b)|(?<=(?:\\P{word}|^)(?:begin|do|else|in|struct|then|try))(?!\\p{word})|(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]@@|^@@))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])\\s+",
|
|
2415
|
+
"end": "\\b(?:(and)|(let))\\b|(?=\\S)(?!\\(\\*)",
|
|
2416
2416
|
"endCaptures": {
|
|
2417
2417
|
"1": {
|
|
2418
2418
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp markup.underline"
|
|
@@ -2428,13 +2428,13 @@
|
|
|
2428
2428
|
]
|
|
2429
2429
|
},
|
|
2430
2430
|
{
|
|
2431
|
-
"begin": "(
|
|
2431
|
+
"begin": "(?<=(?:\\P{word}|^)(?:and|let))(?!\\p{word})|(let)",
|
|
2432
2432
|
"beginCaptures": {
|
|
2433
2433
|
"1": {
|
|
2434
2434
|
"name": "storage.type markup.underline"
|
|
2435
2435
|
}
|
|
2436
2436
|
},
|
|
2437
|
-
"end": "\\b(?:(and)|(in))\\b|(
|
|
2437
|
+
"end": "\\b(?:(and)|(in))\\b|(?=[})\\]]|\\b(?:end|class|exception|external|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
2438
2438
|
"endCaptures": {
|
|
2439
2439
|
"1": {
|
|
2440
2440
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp markup.underline"
|
|
@@ -2468,8 +2468,8 @@
|
|
|
2468
2468
|
"termMatchRule": {
|
|
2469
2469
|
"patterns": [
|
|
2470
2470
|
{
|
|
2471
|
-
"begin": "(
|
|
2472
|
-
"end": "(?<![
|
|
2471
|
+
"begin": "(?<=(?:\\P{word}|^)(?:fun|function|with))(?!\\p{word})",
|
|
2472
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])(\\|)|(->)(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2473
2473
|
"endCaptures": {
|
|
2474
2474
|
"1": {
|
|
2475
2475
|
"name": "support.type strong"
|
|
@@ -2491,13 +2491,13 @@
|
|
|
2491
2491
|
]
|
|
2492
2492
|
},
|
|
2493
2493
|
{
|
|
2494
|
-
"begin": "(
|
|
2494
|
+
"begin": "(?<=(?:[^\\[#\\-:!?.@*/\\&%\\^+<=>|~$]\\||^\\|))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])|(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])\\|(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2495
2495
|
"beginCaptures": {
|
|
2496
2496
|
"0": {
|
|
2497
2497
|
"name": "support.type strong"
|
|
2498
2498
|
}
|
|
2499
2499
|
},
|
|
2500
|
-
"end": "(?<![
|
|
2500
|
+
"end": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])(\\|)|(->)(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2501
2501
|
"endCaptures": {
|
|
2502
2502
|
"1": {
|
|
2503
2503
|
"name": "support.type strong"
|
|
@@ -2517,7 +2517,7 @@
|
|
|
2517
2517
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
2518
2518
|
}
|
|
2519
2519
|
},
|
|
2520
|
-
"end": "(?=(?<![
|
|
2520
|
+
"end": "(?=(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])->(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))",
|
|
2521
2521
|
"patterns": [
|
|
2522
2522
|
{
|
|
2523
2523
|
"include": "#term"
|
|
@@ -2531,13 +2531,13 @@
|
|
|
2531
2531
|
"termOperator": {
|
|
2532
2532
|
"patterns": [
|
|
2533
2533
|
{
|
|
2534
|
-
"begin": "(?<![
|
|
2534
|
+
"begin": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])#(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2535
2535
|
"beginCaptures": {
|
|
2536
2536
|
"0": {
|
|
2537
2537
|
"name": "keyword"
|
|
2538
2538
|
}
|
|
2539
2539
|
},
|
|
2540
|
-
"end": "(
|
|
2540
|
+
"end": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
2541
2541
|
"endCaptures": {
|
|
2542
2542
|
"0": {
|
|
2543
2543
|
"name": "entity.name.function"
|
|
@@ -2561,7 +2561,7 @@
|
|
|
2561
2561
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
2562
2562
|
}
|
|
2563
2563
|
},
|
|
2564
|
-
"match": "(,|[
|
|
2564
|
+
"match": "(,|[#\\-:!?.@*/\\&%\\^+<=>|~$]+)|(;)"
|
|
2565
2565
|
},
|
|
2566
2566
|
{
|
|
2567
2567
|
"match": "\\b(?:and|assert|asr|land|lazy|lsr|lxor|mod|new|or)\\b",
|
|
@@ -2571,13 +2571,13 @@
|
|
|
2571
2571
|
},
|
|
2572
2572
|
"termPun": {
|
|
2573
2573
|
"applyEndPatternLast": true,
|
|
2574
|
-
"begin": "(?<![
|
|
2574
|
+
"begin": "(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])\\?|~(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2575
2575
|
"beginCaptures": {
|
|
2576
2576
|
"0": {
|
|
2577
2577
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
2578
2578
|
}
|
|
2579
2579
|
},
|
|
2580
|
-
"end": ":|(?=[
|
|
2580
|
+
"end": ":|(?=[^\\s:])",
|
|
2581
2581
|
"endCaptures": {
|
|
2582
2582
|
"0": {
|
|
2583
2583
|
"name": "keyword"
|
|
@@ -2585,8 +2585,8 @@
|
|
|
2585
2585
|
},
|
|
2586
2586
|
"patterns": [
|
|
2587
2587
|
{
|
|
2588
|
-
"begin": "(
|
|
2589
|
-
"end": "(
|
|
2588
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]\\?|^\\?|[^#\\-:!?.@*/\\&%\\^+<=>|~$]~|^~))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2589
|
+
"end": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
2590
2590
|
"endCaptures": {
|
|
2591
2591
|
"0": {
|
|
2592
2592
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename"
|
|
@@ -2626,7 +2626,7 @@
|
|
|
2626
2626
|
},
|
|
2627
2627
|
"patterns": [
|
|
2628
2628
|
{
|
|
2629
|
-
"begin": "(
|
|
2629
|
+
"begin": "(?<=(?:\\P{word}while|^while))(?!\\p{word})",
|
|
2630
2630
|
"end": "\\bdo\\b",
|
|
2631
2631
|
"endCaptures": {
|
|
2632
2632
|
"0": {
|
|
@@ -2640,7 +2640,7 @@
|
|
|
2640
2640
|
]
|
|
2641
2641
|
},
|
|
2642
2642
|
{
|
|
2643
|
-
"begin": "(
|
|
2643
|
+
"begin": "(?<=(?:\\P{word}do|^do))(?!\\p{word})",
|
|
2644
2644
|
"end": "(?=\\bdone\\b)",
|
|
2645
2645
|
"patterns": [
|
|
2646
2646
|
{
|
|
@@ -2690,7 +2690,7 @@
|
|
|
2690
2690
|
"typeConstructor": {
|
|
2691
2691
|
"patterns": [
|
|
2692
2692
|
{
|
|
2693
|
-
"begin": "(_)|((
|
|
2693
|
+
"begin": "(_)|((?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*)|(')((?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*)|(?<=[^*]\\)|])",
|
|
2694
2694
|
"beginCaptures": {
|
|
2695
2695
|
"1": {
|
|
2696
2696
|
"name": "comment constant.regexp meta.separator.markdown"
|
|
@@ -2702,7 +2702,7 @@
|
|
|
2702
2702
|
"name": "keyword.control emphasis"
|
|
2703
2703
|
}
|
|
2704
2704
|
},
|
|
2705
|
-
"end": "(?=\\((?!\\*)
|
|
2705
|
+
"end": "(?=\\((?!\\*)|[*:,=.>\\-{\\[+})\\];|])|((?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*)[:space]*(?!\\(\\*|\\p{word})|(?=;;|[})\\]]|\\b(?:end|and|class|exception|external|in|include|inherit|initializer|let|method|module|open|type|val)\\b)",
|
|
2706
2706
|
"endCaptures": {
|
|
2707
2707
|
"1": {
|
|
2708
2708
|
"name": "entity.name.function strong"
|
|
@@ -2722,7 +2722,7 @@
|
|
|
2722
2722
|
"typeLabel": {
|
|
2723
2723
|
"patterns": [
|
|
2724
2724
|
{
|
|
2725
|
-
"begin": "(\\??)((
|
|
2725
|
+
"begin": "(\\??)((?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*)\\s*((?<![#\\-:!?.@*/\\&%\\^+<=>|~$]):(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))",
|
|
2726
2726
|
"captures": {
|
|
2727
2727
|
"1": {
|
|
2728
2728
|
"name": "keyword strong emphasis"
|
|
@@ -2734,7 +2734,7 @@
|
|
|
2734
2734
|
"name": "keyword"
|
|
2735
2735
|
}
|
|
2736
2736
|
},
|
|
2737
|
-
"end": "(?=(?<![
|
|
2737
|
+
"end": "(?=(?<![#\\-:!?.@*/\\&%\\^+<=>|~$])->(?![#\\-:!?.@*/\\&%\\^+<=>|~$]))",
|
|
2738
2738
|
"patterns": [
|
|
2739
2739
|
{
|
|
2740
2740
|
"include": "#type"
|
|
@@ -2770,7 +2770,7 @@
|
|
|
2770
2770
|
"end": ">",
|
|
2771
2771
|
"patterns": [
|
|
2772
2772
|
{
|
|
2773
|
-
"begin": "(
|
|
2773
|
+
"begin": "(?<=[<;])",
|
|
2774
2774
|
"end": "(:)|(?=>)",
|
|
2775
2775
|
"endCaptures": {
|
|
2776
2776
|
"1": {
|
|
@@ -2791,13 +2791,13 @@
|
|
|
2791
2791
|
"include": "#pathModulePrefixSimple"
|
|
2792
2792
|
},
|
|
2793
2793
|
{
|
|
2794
|
-
"match": "(
|
|
2794
|
+
"match": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
2795
2795
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename emphasis"
|
|
2796
2796
|
}
|
|
2797
2797
|
]
|
|
2798
2798
|
},
|
|
2799
2799
|
{
|
|
2800
|
-
"begin": "(
|
|
2800
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2801
2801
|
"end": "(;)|(?=>)",
|
|
2802
2802
|
"endCaptures": {
|
|
2803
2803
|
"1": {
|
|
@@ -2818,7 +2818,7 @@
|
|
|
2818
2818
|
"typeOperator": {
|
|
2819
2819
|
"patterns": [
|
|
2820
2820
|
{
|
|
2821
|
-
"match": "
|
|
2821
|
+
"match": "[,;]|[#\\-:!?.@*/\\&%\\^+<=>|~$]+",
|
|
2822
2822
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
2823
2823
|
}
|
|
2824
2824
|
]
|
|
@@ -2846,7 +2846,7 @@
|
|
|
2846
2846
|
},
|
|
2847
2847
|
"typePolymorphicVariant": {
|
|
2848
2848
|
"begin": "\\[",
|
|
2849
|
-
"end": "
|
|
2849
|
+
"end": "]",
|
|
2850
2850
|
"patterns": [
|
|
2851
2851
|
]
|
|
2852
2852
|
},
|
|
@@ -2857,11 +2857,11 @@
|
|
|
2857
2857
|
"name": "constant.language constant.numeric entity.other.attribute-name.id.css strong strong"
|
|
2858
2858
|
}
|
|
2859
2859
|
},
|
|
2860
|
-
"end": "
|
|
2860
|
+
"end": "}",
|
|
2861
2861
|
"patterns": [
|
|
2862
2862
|
{
|
|
2863
|
-
"begin": "(
|
|
2864
|
-
"end": "(:)|(=)|(;)|(with)|(
|
|
2863
|
+
"begin": "(?<=[{;])",
|
|
2864
|
+
"end": "(:)|(=)|(;)|(with)|(?=})",
|
|
2865
2865
|
"endCaptures": {
|
|
2866
2866
|
"1": {
|
|
2867
2867
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -2884,14 +2884,14 @@
|
|
|
2884
2884
|
"include": "#pathModulePrefixSimple"
|
|
2885
2885
|
},
|
|
2886
2886
|
{
|
|
2887
|
-
"match": "(
|
|
2887
|
+
"match": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
2888
2888
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename emphasis"
|
|
2889
2889
|
}
|
|
2890
2890
|
]
|
|
2891
2891
|
},
|
|
2892
2892
|
{
|
|
2893
|
-
"begin": "(
|
|
2894
|
-
"end": "(:)|(=)|(;)|(
|
|
2893
|
+
"begin": "(?<=(?:\\P{word}with|^with))(?!\\p{word})",
|
|
2894
|
+
"end": "(:)|(=)|(;)|(?=})",
|
|
2895
2895
|
"endCaptures": {
|
|
2896
2896
|
"1": {
|
|
2897
2897
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp strong"
|
|
@@ -2905,14 +2905,14 @@
|
|
|
2905
2905
|
},
|
|
2906
2906
|
"patterns": [
|
|
2907
2907
|
{
|
|
2908
|
-
"match": "(
|
|
2908
|
+
"match": "(?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*",
|
|
2909
2909
|
"name": "markup.inserted constant.language support.constant.property-value entity.name.filename emphasis"
|
|
2910
2910
|
}
|
|
2911
2911
|
]
|
|
2912
2912
|
},
|
|
2913
2913
|
{
|
|
2914
|
-
"begin": "(
|
|
2915
|
-
"end": "(;)|(=)|(
|
|
2914
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]:|^:))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2915
|
+
"end": "(;)|(=)|(?=})",
|
|
2916
2916
|
"endCaptures": {
|
|
2917
2917
|
"1": {
|
|
2918
2918
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
@@ -2928,8 +2928,8 @@
|
|
|
2928
2928
|
]
|
|
2929
2929
|
},
|
|
2930
2930
|
{
|
|
2931
|
-
"begin": "(
|
|
2932
|
-
"end": ";|(
|
|
2931
|
+
"begin": "(?<=(?:[^#\\-:!?.@*/\\&%\\^+<=>|~$]=|^=))(?![#\\-:!?.@*/\\&%\\^+<=>|~$])",
|
|
2932
|
+
"end": ";|(?=})",
|
|
2933
2933
|
"endCaptures": {
|
|
2934
2934
|
"0": {
|
|
2935
2935
|
"name": "variable.other.class.js message.error variable.interpolation string.regexp"
|
|
@@ -2949,7 +2949,7 @@
|
|
|
2949
2949
|
"name": "string.other.link variable.language variable.parameter emphasis"
|
|
2950
2950
|
}
|
|
2951
2951
|
},
|
|
2952
|
-
"match": "
|
|
2952
|
+
"match": "\\b(?=\\p{upper})[[:alpha:]_][[:word:]']*"
|
|
2953
2953
|
},
|
|
2954
2954
|
"variablePattern": {
|
|
2955
2955
|
"captures": {
|
|
@@ -2960,7 +2960,7 @@
|
|
|
2960
2960
|
"name": "string.other.link variable.language variable.parameter emphasis"
|
|
2961
2961
|
}
|
|
2962
2962
|
},
|
|
2963
|
-
"match": "(\\b_\\b)|((
|
|
2963
|
+
"match": "(\\b_\\b)|((?!\\b(?:and|'|as|asr|assert|\\*|begin|class|[:,@]|constraint|do|done|downto|else|end|=|exception|external|false|for|\\.|fun|function|functor|[>\\-]|if|in|include|inherit|initializer|land|lazy|[{(\\[<]|let|lor|lsl|lsr|lxor|match|method|mod|module|mutable|new|nonrec|#|object|of|open|or|[%+]|private|[?\"]|rec|[\\\\})\\];]|sig|/|struct|then|~|to|true|try|type|val|\\||virtual|when|while|with)\\b(?:[^']|$))\\b(?=[[:lower:]_])[[:alpha:]_][[:word:]']*)"
|
|
2964
2964
|
}
|
|
2965
2965
|
},
|
|
2966
2966
|
"scopeName": "source.ocaml"
|