github-linguist 5.3.3 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/git-linguist +5 -2
- data/ext/linguist/linguist.c +18 -7
- data/grammars/annotation.liquidhaskell.haskell.json +969 -862
- data/grammars/config.xcompose.json +22 -25
- data/grammars/file.lasso.json +296 -309
- data/grammars/hint.haskell.json +867 -766
- data/grammars/hint.message.haskell.json +867 -766
- data/grammars/hint.type.haskell.json +867 -766
- data/grammars/objdump.x86asm.json +20 -24
- data/grammars/source.Kotlin.json +220 -225
- data/grammars/source.LS.json +36 -55
- data/grammars/source.MCPOST.json +24 -38
- data/grammars/source.MOD.json +26 -41
- data/grammars/source.SASLog.json +9 -16
- data/grammars/source.abap.json +48 -56
- data/grammars/source.abl.json +8 -14
- data/grammars/source.abnf.json +88 -98
- data/grammars/source.actionscript.3.json +398 -429
- data/grammars/source.acucobol.json +5 -8
- data/grammars/source.ada.json +46 -53
- data/grammars/source.afm.json +548 -554
- data/grammars/source.agc.json +34 -37
- data/grammars/source.agda.json +79 -91
- data/grammars/source.ahk.json +62 -66
- data/grammars/source.alloy.json +16 -20
- data/grammars/source.ampl.json +41 -47
- data/grammars/source.angelscript.json +71 -80
- data/grammars/source.antlr.json +131 -136
- data/grammars/source.apache-config.json +93 -99
- data/grammars/source.apache-config.mod_perl.json +19 -24
- data/grammars/source.apl.json +1038 -1029
- data/grammars/source.applescript.json +501 -523
- data/grammars/source.apt.json +9 -16
- data/grammars/source.asn.json +27 -31
- data/grammars/source.asp.json +61 -67
- data/grammars/source.aspectj.json +385 -391
- data/grammars/source.assembly.json +49 -55
- data/grammars/source.ats.json +45 -121
- data/grammars/source.autoit.json +64 -69
- data/grammars/source.awk.json +172 -176
- data/grammars/source.ballerina.json +48 -395
- data/grammars/source.batchfile.json +269 -269
- data/grammars/source.befunge.json +17 -21
- data/grammars/source.bf.json +5 -11
- data/grammars/source.bison.json +10 -14
- data/grammars/source.blitzmax.json +300 -305
- data/grammars/source.boo.json +189 -193
- data/grammars/source.brightauthorproject.json +8 -13
- data/grammars/source.brightscript.json +37 -47
- data/grammars/source.bro.json +134 -140
- data/grammars/source.bsl.json +152 -193
- data/grammars/source.bsv.json +96 -102
- data/grammars/source.c++.json +176 -193
- data/grammars/source.c++.qt.json +13 -21
- data/grammars/source.c.ec.json +15 -21
- data/grammars/source.c.json +237 -251
- data/grammars/source.c.platform.json +153 -159
- data/grammars/source.c2hs.json +3 -6
- data/grammars/source.cabal.json +17 -20
- data/grammars/source.cache.cmake.json +18 -23
- data/grammars/source.cake.json +4 -7
- data/grammars/source.camlp4.ocaml.json +24 -27
- data/grammars/source.capnp.json +33 -38
- data/grammars/source.ceylon.json +44 -50
- data/grammars/source.cfscript.cfc.json +78 -86
- data/grammars/source.cfscript.json +513 -520
- data/grammars/source.changelogs.rpm-spec.json +8 -16
- data/grammars/source.chapel.json +109 -87
- data/grammars/source.cirru.json +25 -30
- data/grammars/source.clarion.json +41 -54
- data/grammars/source.clean.json +90 -95
- data/grammars/source.click.json +25 -28
- data/grammars/source.clips.json +10 -23
- data/grammars/source.clojure.json +151 -168
- data/grammars/source.cm.json +14 -19
- data/grammars/source.cmake.json +53 -61
- data/grammars/source.cobol.json +165 -180
- data/grammars/source.coffee.json +454 -462
- data/grammars/source.cool.json +36 -43
- data/grammars/source.coq.json +17 -21
- data/grammars/source.crystal.json +889 -983
- data/grammars/source.cs.json +739 -740
- data/grammars/source.csound-document.json +69 -73
- data/grammars/source.csound-score.json +52 -55
- data/grammars/source.csound.json +167 -171
- data/grammars/source.css.json +683 -688
- data/grammars/source.css.less.json +211 -511
- data/grammars/source.css.mss.json +94 -101
- data/grammars/source.css.postcss.sugarss.json +260 -0
- data/grammars/source.csx.json +4 -7
- data/grammars/source.cuda-c++.json +47 -81
- data/grammars/source.cwl.json +103 -0
- data/grammars/source.cython.json +536 -582
- data/grammars/source.d.json +243 -252
- data/grammars/source.dart.json +161 -166
- data/grammars/source.data-weave.json +901 -905
- data/grammars/source.desktop.json +29 -33
- data/grammars/source.diff.json +43 -52
- data/grammars/source.disasm.json +15 -16
- data/grammars/source.ditroff.desc.json +73 -84
- data/grammars/source.ditroff.json +60 -61
- data/grammars/source.dm.json +202 -213
- data/grammars/source.dmf.json +44 -47
- data/grammars/source.dockerfile.json +29 -34
- data/grammars/source.dot.json +46 -55
- data/grammars/source.dylan.json +63 -68
- data/grammars/source.ebnf.json +55 -62
- data/grammars/source.eiffel.json +57 -62
- data/grammars/source.elixir.json +321 -366
- data/grammars/source.emacs.lisp.json +458 -249
- data/grammars/source.erazor.json +49 -57
- data/grammars/source.erlang.json +508 -515
- data/grammars/source.essl.json +17 -30
- data/grammars/source.factor.json +85 -91
- data/grammars/source.fan.json +92 -96
- data/grammars/source.fancy.json +93 -118
- data/grammars/source.fish.json +74 -98
- data/grammars/source.fontforge.json +142 -146
- data/grammars/source.forth.json +42 -57
- data/grammars/source.fortran.json +193 -231
- data/grammars/source.fortran.modern.json +77 -103
- data/grammars/source.fsharp.fsi.json +1 -6
- data/grammars/source.fsharp.fsl.json +1 -6
- data/grammars/source.fsharp.fsx.json +1 -6
- data/grammars/source.fsharp.json +148 -153
- data/grammars/source.gap.json +60 -70
- data/grammars/source.gcode.json +9 -16
- data/grammars/source.gdb.json +63 -79
- data/grammars/source.gdb.session.json +27 -28
- data/grammars/source.gdbregs.json +7 -8
- data/grammars/source.gdscript.json +92 -96
- data/grammars/source.gerber.json +38 -56
- data/grammars/source.gfm.json +447 -462
- data/grammars/source.glsl.json +58 -83
- data/grammars/source.gn.json +188 -193
- data/grammars/source.gnuplot.json +104 -120
- data/grammars/source.go.json +169 -181
- data/grammars/source.golo.json +82 -87
- data/grammars/source.gosu.2.json +58 -68
- data/grammars/source.grace.json +266 -270
- data/grammars/source.graphql.json +586 -596
- data/grammars/source.groovy.gradle.json +18 -22
- data/grammars/source.groovy.json +422 -433
- data/grammars/source.harbour.json +129 -173
- data/grammars/source.haskell.json +871 -772
- data/grammars/source.haxe.2.json +402 -413
- data/grammars/source.hlsl.json +6 -16
- data/grammars/source.hsc2hs.json +1 -4
- data/grammars/source.hsig.json +871 -770
- data/grammars/source.hss.1.json +122 -144
- data/grammars/source.httpspec.json +119 -123
- data/grammars/source.hxml.json +8 -15
- data/grammars/source.ideal.json +125 -125
- data/grammars/source.idl-dlm.json +25 -32
- data/grammars/source.idl.json +59 -80
- data/grammars/source.idris.json +171 -185
- data/grammars/source.inform7.json +117 -121
- data/grammars/source.ini.json +37 -43
- data/grammars/source.io.json +65 -73
- data/grammars/source.ioke.json +72 -78
- data/grammars/source.isabelle.root.json +26 -30
- data/grammars/source.isabelle.theory.json +46 -50
- data/grammars/source.j.json +18 -21
- data/grammars/source.jasmin.json +45 -50
- data/grammars/source.java-properties.json +31 -41
- data/grammars/source.java.json +333 -342
- data/grammars/source.jcl.json +15 -18
- data/grammars/source.jflex.json +166 -172
- data/grammars/source.jison.json +331 -334
- data/grammars/source.jisonlex-injection.json +1 -2
- data/grammars/source.jisonlex.json +148 -151
- data/grammars/source.jolie.json +37 -43
- data/grammars/source.jq.json +80 -87
- data/grammars/source.js.json +798 -818
- data/grammars/source.js.jsx.json +2115 -2225
- data/grammars/source.js.objj.json +167 -172
- data/grammars/source.js.regexp.json +50 -50
- data/grammars/source.js.regexp.replacement.json +7 -7
- data/grammars/source.jsdoc.json +94 -94
- data/grammars/source.json.json +61 -71
- data/grammars/source.julia.console.json +5 -6
- data/grammars/source.julia.json +237 -234
- data/grammars/source.lean.json +55 -67
- data/grammars/source.lid.json +6 -10
- data/grammars/source.lilypond.json +181 -195
- data/grammars/source.lisp.json +40 -50
- data/grammars/source.litcoffee.json +169 -183
- data/grammars/source.livescript.json +207 -220
- data/grammars/source.llvm.json +28 -38
- data/grammars/source.logos.json +7 -14
- data/grammars/source.logtalk.json +136 -141
- data/grammars/source.loomscript.json +77 -83
- data/grammars/source.lsl.json +90 -106
- data/grammars/source.lua.json +100 -109
- data/grammars/source.makefile.json +181 -188
- data/grammars/source.makegen.json +3 -7
- data/grammars/source.mask.json +260 -265
- data/grammars/source.mata.json +38 -46
- data/grammars/source.mathematica.json +155 -167
- data/grammars/source.matlab.json +407 -684
- data/grammars/source.maxscript.json +293 -281
- data/grammars/source.mercury.json +179 -184
- data/grammars/source.meson.json +52 -58
- data/grammars/source.meta-info.json +64 -74
- data/grammars/source.ml.json +107 -113
- data/grammars/source.modelica.json +51 -59
- data/grammars/source.modula2.json +33 -42
- data/grammars/source.monkey.json +234 -241
- data/grammars/source.moonscript.json +51 -56
- data/grammars/source.mql5.json +74 -101
- data/grammars/source.mupad.json +30 -72
- data/grammars/source.ncl.json +1 -14
- data/grammars/source.ne.json +39 -42
- data/grammars/source.nemerle.json +58 -63
- data/grammars/source.nesc.json +9 -15
- data/grammars/source.netlinx.erb.json +13 -25
- data/grammars/source.netlinx.json +231 -292
- data/grammars/source.nextflow-groovy.json +1360 -0
- data/grammars/source.nextflow.json +74 -0
- data/grammars/source.nginx.json +274 -287
- data/grammars/source.nim.json +442 -483
- data/grammars/source.nim_filter.json +6 -26
- data/grammars/source.nimcfg.json +38 -51
- data/grammars/source.ninja.json +64 -70
- data/grammars/source.nit.json +60 -64
- data/grammars/source.nix.json +269 -273
- data/grammars/source.nmml.json +31 -37
- data/grammars/source.nsis.json +66 -72
- data/grammars/source.nu.json +129 -139
- data/grammars/source.nut.json +129 -133
- data/grammars/source.objc++.json +3 -10
- data/grammars/source.objc.json +303 -314
- data/grammars/source.objc.platform.json +145 -151
- data/grammars/source.ocaml.json +506 -514
- data/grammars/source.ocamllex.json +108 -115
- data/grammars/source.ocamlyacc.json +116 -123
- data/grammars/source.ooc.json +148 -155
- data/grammars/source.opa.json +39 -49
- data/grammars/source.opal.json +84 -89
- data/grammars/source.opalsysdefs.json +9 -13
- data/grammars/source.opencobol.json +22 -25
- data/grammars/source.opentype.json +148 -152
- data/grammars/source.ox.json +36 -44
- data/grammars/source.oz.json +31 -38
- data/grammars/source.p4.json +49 -59
- data/grammars/source.pan.json +273 -278
- data/grammars/source.papyrus.skyrim.json +705 -781
- data/grammars/source.parrot.pir.json +59 -65
- data/grammars/source.pascal.json +54 -61
- data/grammars/source.pawn.json +835 -849
- data/grammars/source.pcb.board.json +153 -158
- data/grammars/source.pcb.schematic.json +134 -138
- data/grammars/source.pcb.sexp.json +64 -74
- data/grammars/source.pep8.json +28 -32
- data/grammars/source.perl.6.json +83 -92
- data/grammars/source.perl.json +711 -737
- data/grammars/source.perl6fe.json +1204 -1218
- data/grammars/source.php.zephir.json +80 -89
- data/grammars/source.pic.json +137 -142
- data/grammars/source.pig_latin.json +76 -80
- data/grammars/source.pike.json +23 -36
- data/grammars/source.po.json +74 -84
- data/grammars/source.pogoscript.json +23 -29
- data/grammars/source.pony.json +98 -108
- data/grammars/source.postcss.json +370 -0
- data/grammars/source.postscript.json +88 -97
- data/grammars/source.pov-ray sdl.json +36 -42
- data/grammars/source.powershell.json +175 -197
- data/grammars/source.processing.json +236 -249
- data/grammars/source.prolog.eclipse.json +33 -38
- data/grammars/source.prolog.json +66 -72
- data/grammars/source.protobuf.json +88 -94
- data/grammars/source.puppet.json +144 -151
- data/grammars/source.purescript.json +268 -289
- data/grammars/source.pyjade.json +256 -281
- data/grammars/source.python.django.json +13 -18
- data/grammars/source.python.json +3319 -3367
- data/grammars/source.python.salt.json +3 -7
- data/grammars/source.qmake.json +83 -90
- data/grammars/source.qml.json +57 -78
- data/grammars/source.quoting.perl6fe.json +666 -669
- data/grammars/source.r.json +75 -84
- data/grammars/source.racket.json +17 -38
- data/grammars/source.rascal.json +77 -80
- data/grammars/source.reason.hover.type.json +1 -1
- data/grammars/source.reason.json +1025 -1080
- data/grammars/source.rebol.json +167 -177
- data/grammars/source.red.json +169 -177
- data/grammars/source.regexp.babel.json +74 -77
- data/grammars/source.regexp.extended.json +4 -5
- data/grammars/source.regexp.json +260 -264
- data/grammars/source.regexp.perl6fe.json +108 -111
- data/grammars/source.regexp.python.json +210 -215
- data/grammars/source.regexp.spin.json +63 -72
- data/grammars/source.renpy.json +617 -687
- data/grammars/source.rexx.json +25 -32
- data/grammars/source.ring.json +84 -114
- data/grammars/source.rpm-spec.json +392 -401
- data/grammars/source.ruby.gemfile.json +9 -12
- data/grammars/source.ruby.json +862 -952
- data/grammars/source.ruby.rspec.cucumber.steps.json +90 -103
- data/grammars/source.rust.json +223 -281
- data/grammars/source.sas.json +88 -105
- data/grammars/source.sass.json +100 -108
- data/grammars/source.sbt.json +16 -23
- data/grammars/source.scad.json +60 -67
- data/grammars/source.scala.json +215 -228
- data/grammars/source.scaml.json +120 -135
- data/grammars/source.scheme.json +119 -136
- data/grammars/source.scilab.json +40 -47
- data/grammars/source.scss.json +369 -403
- data/grammars/source.sdbl.json +14 -25
- data/grammars/source.shaderlab.json +24 -27
- data/grammars/source.shell.json +409 -440
- data/grammars/source.shen.json +75 -94
- data/grammars/source.smali.json +232 -293
- data/grammars/source.smalltalk.json +60 -75
- data/grammars/source.smt.json +67 -82
- data/grammars/source.solidity.json +35 -54
- data/grammars/source.sp.json +40 -45
- data/grammars/source.sparql.json +3 -8
- data/grammars/source.spin.json +277 -297
- data/grammars/source.sqf.json +34 -44
- data/grammars/source.sql.json +142 -156
- data/grammars/source.stan.json +201 -160
- data/grammars/source.stata.json +57 -68
- data/grammars/source.strings.json +26 -30
- data/grammars/source.stylus.json +558 -565
- data/grammars/source.supercollider.json +33 -40
- data/grammars/source.swift.json +999 -1077
- data/grammars/source.systemverilog.json +351 -365
- data/grammars/source.tcl.json +77 -94
- data/grammars/source.tea.json +61 -67
- data/grammars/source.terra.json +25 -32
- data/grammars/source.terraform.json +68 -88
- data/grammars/source.thrift.json +300 -306
- data/grammars/source.tl.json +112 -117
- data/grammars/source.tla.json +65 -69
- data/grammars/source.toc.json +21 -25
- data/grammars/source.toml.json +117 -122
- data/grammars/source.ts.json +2838 -2774
- data/grammars/source.tsx.json +180 -184
- data/grammars/source.turing.json +970 -974
- data/grammars/source.turtle.json +124 -140
- data/grammars/source.txl.json +23 -37
- data/grammars/source.ucfconstraints.json +16 -21
- data/grammars/source.ur.json +15 -27
- data/grammars/source.vala.json +221 -235
- data/grammars/source.varnish.vcl.json +117 -129
- data/grammars/source.vbnet.json +69 -106
- data/grammars/source.verilog.json +101 -107
- data/grammars/source.vhdl.json +437 -445
- data/grammars/source.viml.json +540 -550
- data/grammars/source.wavefront.mtl.json +274 -277
- data/grammars/source.wavefront.obj.json +781 -784
- data/grammars/source.wdl.json +66 -46
- data/grammars/source.webassembly.json +97 -102
- data/grammars/source.webidl.json +311 -326
- data/grammars/source.x10.json +28 -32
- data/grammars/source.x86asm.json +21 -26
- data/grammars/source.xc.json +164 -172
- data/grammars/source.xq.json +81 -92
- data/grammars/source.xtend.json +199 -208
- data/grammars/source.yaml-ext.json +118 -124
- data/grammars/source.yaml.json +155 -174
- data/grammars/source.yaml.salt.json +113 -116
- data/grammars/source.yang.json +10 -13
- data/grammars/source.yara.json +98 -0
- data/grammars/text.bibtex.json +95 -100
- data/grammars/text.cfml.basic.json +403 -404
- data/grammars/text.elixir.json +18 -23
- data/grammars/text.error-list.json +15 -16
- data/grammars/text.find-refs.json +487 -488
- data/grammars/text.gherkin.feature.json +45 -53
- data/grammars/text.haml.json +176 -189
- data/grammars/text.hamlc.json +82 -88
- data/grammars/text.html.abl.json +16 -21
- data/grammars/text.html.asciidoc.json +139 -153
- data/grammars/text.html.asdoc.json +145 -155
- data/grammars/text.html.asp.json +23 -28
- data/grammars/text.html.basic.json +323 -338
- data/grammars/text.html.cfm.json +316 -325
- data/grammars/text.html.creole.json +177 -189
- data/grammars/text.html.django.json +27 -33
- data/grammars/text.html.ecr.json +21 -25
- data/grammars/text.html.elixir.json +3 -9
- data/grammars/text.html.erb.json +81 -85
- data/grammars/text.html.erlang.yaws.json +24 -29
- data/grammars/text.html.factor.json +5 -11
- data/grammars/text.html.ftl.json +16 -25
- data/grammars/text.html.handlebars.json +579 -598
- data/grammars/text.html.javadoc.json +426 -0
- data/grammars/text.html.js.json +11 -17
- data/grammars/text.html.jsp.json +377 -384
- data/grammars/text.html.liquid.json +8 -18
- data/grammars/text.html.mako.json +257 -275
- data/grammars/text.html.markdown.source.gfm.apib.json +419 -427
- data/grammars/text.html.markdown.source.gfm.mson.json +405 -414
- data/grammars/text.html.mediawiki.json +318 -344
- data/grammars/text.html.php.blade.json +2134 -2140
- data/grammars/text.html.php.json +980 -1013
- data/grammars/text.html.slash.json +101 -107
- data/grammars/text.html.smarty.json +75 -83
- data/grammars/text.html.soy.json +250 -253
- data/grammars/text.html.ssp.json +18 -24
- data/grammars/text.html.tcl.json +17 -24
- data/grammars/text.html.twig.json +712 -718
- data/grammars/text.idl-idldoc.json +5 -9
- data/grammars/text.jade.json +213 -235
- data/grammars/text.junit-test-report.json +25 -28
- data/grammars/text.log.latex.json +44 -46
- data/grammars/text.marko.json +370 -401
- data/grammars/text.python.console.json +3 -7
- data/grammars/text.python.traceback.json +2 -5
- data/grammars/text.rdoc.json +15 -19
- data/grammars/text.restructuredtext.clean.json +8 -11
- data/grammars/text.restructuredtext.json +886 -873
- data/grammars/text.robot.json +26 -36
- data/grammars/text.roff.json +2852 -2915
- data/grammars/text.runoff.json +56 -69
- data/grammars/text.sfd.json +151 -155
- data/grammars/text.shell-session.json +5 -8
- data/grammars/text.slim.json +184 -210
- data/grammars/text.srt.json +54 -57
- data/grammars/text.tex.json +98 -105
- data/grammars/text.tex.latex.beamer.json +14 -20
- data/grammars/text.tex.latex.haskell.json +883 -782
- data/grammars/text.tex.latex.json +281 -291
- data/grammars/text.tex.latex.memoir.json +39 -46
- data/grammars/text.tex.latex.rd.json +32 -38
- data/grammars/text.xml.ant.json +62 -69
- data/grammars/text.xml.flex-config.json +1009 -1013
- data/grammars/text.xml.genshi.json +10 -16
- data/grammars/text.xml.json +117 -130
- data/grammars/text.xml.pom.json +235 -240
- data/grammars/text.xml.xsl.json +31 -37
- data/grammars/text.zone_file.json +24 -29
- data/lib/linguist/blob.rb +10 -1
- data/lib/linguist/blob_helper.rb +4 -1
- data/lib/linguist/file_blob.rb +5 -0
- data/lib/linguist/generated.rb +16 -0
- data/lib/linguist/heuristics.rb +23 -11
- data/lib/linguist/language.rb +3 -6
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +74 -12
- data/lib/linguist/lazy_blob.rb +15 -1
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +1666 -3381
- data/lib/linguist/shebang.rb +2 -0
- data/lib/linguist/strategy/modeline.rb +2 -0
- data/lib/linguist/vendor.yml +5 -6
- data/lib/linguist/version.rb +1 -1
- metadata +12 -11
- data/grammars/source.elm.json +0 -381
- data/grammars/source.nant-build.json +0 -86
- data/grammars/source.octave.json +0 -451
- data/grammars/text.html.mediawiki.elm-build-output.json +0 -111
- data/grammars/text.html.mediawiki.elm-documentation.json +0 -22
- data/grammars/text.html.vue.json +0 -936
@@ -1,148 +1,193 @@
|
|
1
1
|
{
|
2
2
|
"name": "Wavefront Object",
|
3
3
|
"scopeName": "source.wavefront.obj",
|
4
|
-
"fileTypes": [
|
5
|
-
"obj"
|
6
|
-
],
|
7
4
|
"patterns": [
|
8
5
|
{
|
9
6
|
"include": "#main"
|
10
7
|
}
|
11
8
|
],
|
12
9
|
"repository": {
|
13
|
-
"
|
14
|
-
"
|
15
|
-
|
16
|
-
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"include": "#line-continuation"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"include": "#general"
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"include": "#vertex"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"include": "#elements"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"include": "#attributes"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"include": "#freeform"
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"include": "#body-statements"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"include": "#connect"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"include": "#grouping"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"include": "#display"
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"include": "#superseded"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"include": "#number"
|
53
|
-
}
|
54
|
-
]
|
55
|
-
},
|
56
|
-
"global": {
|
10
|
+
"args": {
|
11
|
+
"name": "meta.arguments.wavefront.obj",
|
12
|
+
"begin": "\\G",
|
13
|
+
"end": "(?\u003c!\\\\)$",
|
57
14
|
"patterns": [
|
58
15
|
{
|
59
|
-
"include": "#
|
60
|
-
},
|
61
|
-
{
|
62
|
-
"include": "#number"
|
16
|
+
"include": "#global"
|
63
17
|
},
|
64
18
|
{
|
65
|
-
"
|
19
|
+
"name": "variable.language.substituted.wavefront.obj",
|
20
|
+
"match": "\\$[1-9]+"
|
66
21
|
}
|
67
22
|
]
|
68
23
|
},
|
69
|
-
"
|
70
|
-
"name": "comment.line.number-sign.wavefront.obj",
|
71
|
-
"begin": "#",
|
72
|
-
"end": "$",
|
73
|
-
"beginCaptures": {
|
74
|
-
"0": {
|
75
|
-
"name": "punctuation.definition.comment.wavefront.obj"
|
76
|
-
}
|
77
|
-
}
|
78
|
-
},
|
79
|
-
"line-continuation": {
|
80
|
-
"name": "constant.character.escape.newline.wavefront.obj",
|
81
|
-
"match": "\\\\\n"
|
82
|
-
},
|
83
|
-
"number": {
|
24
|
+
"attributes": {
|
84
25
|
"patterns": [
|
85
26
|
{
|
86
|
-
"name": "
|
87
|
-
"match": "(
|
27
|
+
"name": "meta.free-form.attribute.type.wavefront.obj",
|
28
|
+
"match": "^\\s*(cstype)(?:\\s+(rat(?=\\s|$))?\\s*(?:(bmatrix|bezier|bspline|cardinal|taylor))?)?(?=\\s|$)",
|
29
|
+
"captures": {
|
30
|
+
"1": {
|
31
|
+
"name": "keyword.function.$1.wavefront.obj"
|
32
|
+
},
|
33
|
+
"2": {
|
34
|
+
"name": "entity.rational-form.wavefront.obj"
|
35
|
+
},
|
36
|
+
"3": {
|
37
|
+
"name": "entity.value.wavefront.obj"
|
38
|
+
}
|
39
|
+
}
|
88
40
|
},
|
89
41
|
{
|
90
|
-
"name": "
|
91
|
-
"match": "(
|
42
|
+
"name": "meta.free-form.attribute.polynomial-degree.wavefront.obj",
|
43
|
+
"match": "^\\s*(deg)(?:\\s+(\\d+)(?=\\s|$))?(?:\\s+(\\d+))?(?=\\s|$)",
|
92
44
|
"captures": {
|
93
45
|
"1": {
|
94
|
-
"name": "
|
46
|
+
"name": "keyword.function.$1.wavefront.obj"
|
95
47
|
},
|
96
48
|
"2": {
|
97
|
-
"name": "
|
49
|
+
"name": "constant.numeric.u-degree.wavefront.obj"
|
98
50
|
},
|
99
51
|
"3": {
|
100
|
-
"name": "
|
52
|
+
"name": "constant.numeric.v-degree.wavefront.obj"
|
101
53
|
}
|
102
54
|
}
|
103
55
|
},
|
104
56
|
{
|
105
|
-
"name": "
|
106
|
-
"
|
57
|
+
"name": "meta.free-form.attribute.$2.basis-matrix.wavefront.obj",
|
58
|
+
"contentName": "meta.matrix.wavefront.obj",
|
59
|
+
"begin": "^\\s*(bmat)(?:\\s+(u|v)(?=\\s|$)\\s*)?",
|
60
|
+
"end": "(?\u003c!\\\\)$|(?=#)",
|
61
|
+
"patterns": [
|
62
|
+
{
|
63
|
+
"include": "#global"
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"beginCaptures": {
|
67
|
+
"1": {
|
68
|
+
"name": "keyword.function.$1.wavefront.obj"
|
69
|
+
},
|
70
|
+
"2": {
|
71
|
+
"name": "entity.type.wavefront.obj"
|
72
|
+
}
|
73
|
+
}
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"name": "meta.free-form.attribute.step-size.wavefront.obj",
|
77
|
+
"match": "^\\s*(step)(?:\\s+(\\d+))?(?:\\s+(\\d+))?(?=\\s|$)",
|
107
78
|
"captures": {
|
108
79
|
"1": {
|
109
|
-
"name": "
|
80
|
+
"name": "keyword.function.$1.wavefront.obj"
|
110
81
|
},
|
111
82
|
"2": {
|
112
|
-
"name": "
|
83
|
+
"name": "constant.numeric.u-size.wavefront.obj"
|
84
|
+
},
|
85
|
+
"3": {
|
86
|
+
"name": "constant.numeric.v-size.wavefront.obj"
|
113
87
|
}
|
114
88
|
}
|
115
89
|
}
|
116
90
|
]
|
117
91
|
},
|
118
|
-
"
|
119
|
-
"name": "meta.arguments.wavefront.obj",
|
120
|
-
"begin": "\\G",
|
121
|
-
"end": "(?<!\\\\)$",
|
92
|
+
"body-statements": {
|
122
93
|
"patterns": [
|
123
94
|
{
|
124
|
-
"
|
95
|
+
"name": "meta.body-statement.parameter.$2-direction.wavefront.obj",
|
96
|
+
"begin": "^\\s*(parm)\\s+(u|v)(?=\\s|$|#)",
|
97
|
+
"end": "(?\u003c!\\\\)$",
|
98
|
+
"patterns": [
|
99
|
+
{
|
100
|
+
"include": "#global"
|
101
|
+
}
|
102
|
+
],
|
103
|
+
"beginCaptures": {
|
104
|
+
"1": {
|
105
|
+
"name": "keyword.function.$1.wavefront.obj"
|
106
|
+
},
|
107
|
+
"2": {
|
108
|
+
"name": "entity.direction.wavefront.obj"
|
109
|
+
}
|
110
|
+
}
|
125
111
|
},
|
126
112
|
{
|
127
|
-
"name": "
|
128
|
-
"
|
113
|
+
"name": "meta.body-statement.trimming-loop.wavefront.obj",
|
114
|
+
"begin": "^\\s*(trim)(?:\\s+|$|#)",
|
115
|
+
"end": "(?\u003c!\\\\)$",
|
116
|
+
"patterns": [
|
117
|
+
{
|
118
|
+
"include": "#curveref"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"include": "#global"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"beginCaptures": {
|
125
|
+
"1": {
|
126
|
+
"name": "keyword.function.$1.wavefront.obj"
|
127
|
+
}
|
128
|
+
}
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"name": "meta.body-statement.special-curve.wavefront.obj",
|
132
|
+
"begin": "^\\s*(scrv)(?:\\s+|$|#)",
|
133
|
+
"end": "(?\u003c!\\\\)$",
|
134
|
+
"patterns": [
|
135
|
+
{
|
136
|
+
"include": "#curveref"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"include": "#global"
|
140
|
+
}
|
141
|
+
],
|
142
|
+
"beginCaptures": {
|
143
|
+
"1": {
|
144
|
+
"name": "keyword.function.$1.wavefront.obj"
|
145
|
+
}
|
146
|
+
}
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"name": "meta.body-statement.special-point.wavefront.obj",
|
150
|
+
"begin": "^\\s*(sp)(?:\\s+|$|#)",
|
151
|
+
"end": "(?\u003c!\\\\)$",
|
152
|
+
"patterns": [
|
153
|
+
{
|
154
|
+
"include": "#vertref-single"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"include": "#global"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"beginCaptures": {
|
161
|
+
"1": {
|
162
|
+
"name": "keyword.function.$1.wavefront.obj"
|
163
|
+
}
|
164
|
+
}
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"name": "keyword.control.body-statement.end.wavefront.obj",
|
168
|
+
"match": "^\\s*end(?=\\s|$|#)"
|
129
169
|
}
|
130
170
|
]
|
131
171
|
},
|
132
|
-
"
|
133
|
-
"name": "
|
134
|
-
"
|
172
|
+
"comment": {
|
173
|
+
"name": "comment.line.number-sign.wavefront.obj",
|
174
|
+
"begin": "#",
|
175
|
+
"end": "$",
|
176
|
+
"beginCaptures": {
|
177
|
+
"0": {
|
178
|
+
"name": "punctuation.definition.comment.wavefront.obj"
|
179
|
+
}
|
180
|
+
}
|
181
|
+
},
|
182
|
+
"connect": {
|
183
|
+
"name": "meta.free-form.connectivity.wavefront.obj",
|
184
|
+
"match": "(?x)\n^\\s*\n\n(con) # 1: keyword.function.$1.wavefront.obj\n\n\\s+(\\d+) # 2: entity.value.first-surface.index.wavefront.obj\n\\s+([-\\d.]+) # 3: entity.value.first-surface.start.wavefront.obj\n\\s+([-\\d.]+) # 4: entity.value.first-surface.end.wavefront.obj\n\\s+(\\d+) # 5: entity.value.first-surface.curve.wavefront.obj\n\n\\s+(\\d+) # 6: entity.value.second-surface.index.wavefront.obj\n\\s+([-\\d.]+) # 7: entity.value.second-surface.start.wavefront.obj\n\\s+([-\\d.]+) # 8: entity.value.second-surface.end.wavefront.obj\n\\s+(\\d+) # 9: entity.value.second-surface.curve.wavefront.obj",
|
135
185
|
"captures": {
|
136
186
|
"1": {
|
137
|
-
"name": "
|
138
|
-
"patterns": [
|
139
|
-
{
|
140
|
-
"include": "#number"
|
141
|
-
}
|
142
|
-
]
|
187
|
+
"name": "keyword.function.$1.wavefront.obj"
|
143
188
|
},
|
144
189
|
"2": {
|
145
|
-
"name": "entity.
|
190
|
+
"name": "entity.value.first-surface.index.wavefront.obj",
|
146
191
|
"patterns": [
|
147
192
|
{
|
148
193
|
"include": "#number"
|
@@ -150,7 +195,7 @@
|
|
150
195
|
]
|
151
196
|
},
|
152
197
|
"3": {
|
153
|
-
"name": "entity.
|
198
|
+
"name": "entity.value.first-surface.start.wavefront.obj",
|
154
199
|
"patterns": [
|
155
200
|
{
|
156
201
|
"include": "#number"
|
@@ -158,158 +203,52 @@
|
|
158
203
|
]
|
159
204
|
},
|
160
205
|
"4": {
|
161
|
-
"name": "entity.
|
206
|
+
"name": "entity.value.first-surface.end.wavefront.obj",
|
162
207
|
"patterns": [
|
163
208
|
{
|
164
209
|
"include": "#number"
|
165
210
|
}
|
166
211
|
]
|
167
|
-
}
|
168
|
-
|
169
|
-
|
170
|
-
"uvw": {
|
171
|
-
"name": "meta.vector.uvw.wavefront.obj",
|
172
|
-
"match": "\\G\\s*(?!#)(\\S+)(?<!#)\\s+(?!#)(\\S+)(?<!#)\\s+(?!#)(\\S+)(?<!#)",
|
173
|
-
"captures": {
|
174
|
-
"1": {
|
175
|
-
"name": "entity.u.coordinate.wavefront.obj",
|
212
|
+
},
|
213
|
+
"5": {
|
214
|
+
"name": "entity.value.first-surface.curve.wavefront.obj",
|
176
215
|
"patterns": [
|
177
216
|
{
|
178
217
|
"include": "#number"
|
179
218
|
}
|
180
219
|
]
|
181
220
|
},
|
182
|
-
"
|
183
|
-
"name": "entity.
|
221
|
+
"6": {
|
222
|
+
"name": "entity.value.first-surface.index.wavefront.obj",
|
184
223
|
"patterns": [
|
185
224
|
{
|
186
225
|
"include": "#number"
|
187
226
|
}
|
188
227
|
]
|
189
228
|
},
|
190
|
-
"
|
191
|
-
"name": "entity.
|
229
|
+
"7": {
|
230
|
+
"name": "entity.value.first-surface.start.wavefront.obj",
|
192
231
|
"patterns": [
|
193
232
|
{
|
194
233
|
"include": "#number"
|
195
234
|
}
|
196
235
|
]
|
197
|
-
}
|
198
|
-
|
199
|
-
|
200
|
-
"ijk": {
|
201
|
-
"name": "meta.vector.ijk.wavefront.obj",
|
202
|
-
"match": "\\G\\s*(?!#)(\\S+)(?<!#)\\s+(?!#)(\\S+)(?<!#)\\s+(?!#)(\\S+)(?<!#)",
|
203
|
-
"captures": {
|
204
|
-
"1": {
|
205
|
-
"name": "entity.i.coordinate.wavefront.obj",
|
236
|
+
},
|
237
|
+
"8": {
|
238
|
+
"name": "entity.value.first-surface.end.wavefront.obj",
|
206
239
|
"patterns": [
|
207
240
|
{
|
208
241
|
"include": "#number"
|
209
242
|
}
|
210
243
|
]
|
211
244
|
},
|
212
|
-
"
|
213
|
-
"name": "entity.
|
245
|
+
"9": {
|
246
|
+
"name": "entity.value.first-surface.curve.wavefront.obj",
|
214
247
|
"patterns": [
|
215
248
|
{
|
216
249
|
"include": "#number"
|
217
250
|
}
|
218
251
|
]
|
219
|
-
},
|
220
|
-
"3": {
|
221
|
-
"name": "entity.k.coordinate.wavefront.obj",
|
222
|
-
"patterns": [
|
223
|
-
{
|
224
|
-
"include": "#number"
|
225
|
-
}
|
226
|
-
]
|
227
|
-
}
|
228
|
-
}
|
229
|
-
},
|
230
|
-
"vertref": {
|
231
|
-
"patterns": [
|
232
|
-
{
|
233
|
-
"include": "#vertref-triple"
|
234
|
-
},
|
235
|
-
{
|
236
|
-
"include": "#vertref-double"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"include": "#vertref-single"
|
240
|
-
}
|
241
|
-
]
|
242
|
-
},
|
243
|
-
"vertref-single": {
|
244
|
-
"patterns": [
|
245
|
-
{
|
246
|
-
"match": "-\\d+",
|
247
|
-
"name": "constant.numeric.vertex-reference.relative.wavefront.obj"
|
248
|
-
},
|
249
|
-
{
|
250
|
-
"match": "\\d+",
|
251
|
-
"name": "constant.numeric.vertex-reference.absolute.wavefront.obj"
|
252
|
-
}
|
253
|
-
]
|
254
|
-
},
|
255
|
-
"vertref-double": {
|
256
|
-
"name": "meta.vertex-reference.double.wavefront.obj",
|
257
|
-
"match": "(?<=\\s)(-?\\d+)(\\/)(-?\\d+)(?=\\s|$)",
|
258
|
-
"captures": {
|
259
|
-
"1": {
|
260
|
-
"name": "meta.first.wavefront.obj",
|
261
|
-
"patterns": [
|
262
|
-
{
|
263
|
-
"include": "#vertref"
|
264
|
-
}
|
265
|
-
]
|
266
|
-
},
|
267
|
-
"2": {
|
268
|
-
"name": "punctuation.separator.slash.wavefront.obj"
|
269
|
-
},
|
270
|
-
"3": {
|
271
|
-
"name": "meta.second.wavefront.obj",
|
272
|
-
"patterns": [
|
273
|
-
{
|
274
|
-
"include": "#vertref"
|
275
|
-
}
|
276
|
-
]
|
277
|
-
}
|
278
|
-
}
|
279
|
-
},
|
280
|
-
"vertref-triple": {
|
281
|
-
"name": "meta.vertex-reference.triple.wavefront.obj",
|
282
|
-
"match": "(?<=\\s)(-?\\d+)(\\/)(-?\\d+)?(\\/)(-?\\d+)(?=\\s|$)",
|
283
|
-
"captures": {
|
284
|
-
"1": {
|
285
|
-
"name": "meta.first.wavefront.obj",
|
286
|
-
"patterns": [
|
287
|
-
{
|
288
|
-
"include": "#vertref"
|
289
|
-
}
|
290
|
-
]
|
291
|
-
},
|
292
|
-
"2": {
|
293
|
-
"name": "punctuation.separator.slash.wavefront.obj"
|
294
|
-
},
|
295
|
-
"3": {
|
296
|
-
"name": "meta.second.wavefront.obj",
|
297
|
-
"patterns": [
|
298
|
-
{
|
299
|
-
"include": "#vertref"
|
300
|
-
}
|
301
|
-
]
|
302
|
-
},
|
303
|
-
"4": {
|
304
|
-
"name": "punctuation.separator.slash.wavefront.obj"
|
305
|
-
},
|
306
|
-
"5": {
|
307
|
-
"name": "meta.third.wavefront.obj",
|
308
|
-
"patterns": [
|
309
|
-
{
|
310
|
-
"include": "#vertref"
|
311
|
-
}
|
312
|
-
]
|
313
252
|
}
|
314
253
|
}
|
315
254
|
},
|
@@ -343,206 +282,298 @@
|
|
343
282
|
}
|
344
283
|
}
|
345
284
|
},
|
346
|
-
"
|
285
|
+
"display": {
|
347
286
|
"patterns": [
|
348
287
|
{
|
349
|
-
"name": "meta.
|
350
|
-
"
|
351
|
-
"
|
352
|
-
"beginCaptures": {
|
288
|
+
"name": "meta.display.polygonal.attribute.bevel.wavefront.obj",
|
289
|
+
"match": "^\\s*(bevel)\\s+(on|off)(?=\\s|$|#)",
|
290
|
+
"captures": {
|
353
291
|
"1": {
|
354
292
|
"name": "keyword.function.$1.wavefront.obj"
|
355
293
|
},
|
356
294
|
"2": {
|
357
|
-
"name": "
|
358
|
-
}
|
359
|
-
},
|
360
|
-
"patterns": [
|
361
|
-
{
|
362
|
-
"include": "#args"
|
295
|
+
"name": "constant.language.boolean.$2.wavefront.obj"
|
363
296
|
}
|
364
|
-
|
297
|
+
}
|
365
298
|
},
|
366
299
|
{
|
367
|
-
"name": "meta.
|
368
|
-
"
|
369
|
-
"
|
370
|
-
"beginCaptures": {
|
300
|
+
"name": "meta.display.polygonal.attribute.colour-interpolation.wavefront.obj",
|
301
|
+
"match": "^\\s*(c_interp)\\s+(on|off)(?=\\s|$|#)",
|
302
|
+
"captures": {
|
371
303
|
"1": {
|
372
304
|
"name": "keyword.function.$1.wavefront.obj"
|
373
305
|
},
|
374
306
|
"2": {
|
375
|
-
"name": "
|
376
|
-
},
|
377
|
-
"3": {
|
378
|
-
"name": "string.command-name.wavefront.obj"
|
379
|
-
}
|
380
|
-
},
|
381
|
-
"patterns": [
|
382
|
-
{
|
383
|
-
"include": "#args"
|
307
|
+
"name": "constant.language.boolean.$2.wavefront.obj"
|
384
308
|
}
|
385
|
-
|
309
|
+
}
|
386
310
|
},
|
387
311
|
{
|
388
|
-
"name": "meta.
|
389
|
-
"
|
390
|
-
"
|
391
|
-
"beginCaptures": {
|
312
|
+
"name": "meta.display.polygonal.attribute.dissolve-interpolation.wavefront.obj",
|
313
|
+
"match": "^\\s*(d_interp)\\s+(on|off)(?=\\s|$|#)",
|
314
|
+
"captures": {
|
392
315
|
"1": {
|
393
316
|
"name": "keyword.function.$1.wavefront.obj"
|
394
317
|
},
|
395
318
|
"2": {
|
396
|
-
"name": "
|
397
|
-
}
|
398
|
-
},
|
399
|
-
"patterns": [
|
400
|
-
{
|
401
|
-
"include": "#args"
|
319
|
+
"name": "constant.language.boolean.$2.wavefront.obj"
|
402
320
|
}
|
403
|
-
|
404
|
-
}
|
405
|
-
]
|
406
|
-
},
|
407
|
-
"vertex": {
|
408
|
-
"patterns": [
|
321
|
+
}
|
322
|
+
},
|
409
323
|
{
|
410
|
-
"name": "meta.
|
411
|
-
"
|
412
|
-
"
|
413
|
-
"beginCaptures": {
|
324
|
+
"name": "meta.display.attribute.level-of-detail.wavefront.obj",
|
325
|
+
"match": "^\\s*(lod)\\s+([-\\d.]+)",
|
326
|
+
"captures": {
|
414
327
|
"1": {
|
415
328
|
"name": "keyword.function.$1.wavefront.obj"
|
329
|
+
},
|
330
|
+
"2": {
|
331
|
+
"name": "entity.value.wavefront.obj",
|
332
|
+
"patterns": [
|
333
|
+
{
|
334
|
+
"include": "#number"
|
335
|
+
}
|
336
|
+
]
|
416
337
|
}
|
417
|
-
}
|
338
|
+
}
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"name": "meta.display.attribute.map-library.wavefront.obj",
|
342
|
+
"begin": "^\\s*(maplib)(?=\\s|$|#)",
|
343
|
+
"end": "(?\u003c!\\\\)$|(?=#)",
|
418
344
|
"patterns": [
|
419
345
|
{
|
420
|
-
"
|
346
|
+
"name": "string.filename.wavefront.obj",
|
347
|
+
"match": "(?!#)\\S+(?\u003c!#)"
|
421
348
|
},
|
422
349
|
{
|
423
350
|
"include": "#global"
|
424
351
|
}
|
425
|
-
]
|
426
|
-
},
|
427
|
-
{
|
428
|
-
"name": "meta.vertex.parameter-space.wavefront.obj",
|
429
|
-
"begin": "^\\s*(vp)(?=\\s|$)",
|
430
|
-
"end": "$",
|
352
|
+
],
|
431
353
|
"beginCaptures": {
|
432
354
|
"1": {
|
433
355
|
"name": "keyword.function.$1.wavefront.obj"
|
434
356
|
}
|
435
|
-
}
|
436
|
-
"patterns": [
|
437
|
-
{
|
438
|
-
"include": "#uvw"
|
439
|
-
},
|
440
|
-
{
|
441
|
-
"include": "#global"
|
442
|
-
}
|
443
|
-
]
|
357
|
+
}
|
444
358
|
},
|
445
359
|
{
|
446
|
-
"name": "meta.
|
447
|
-
"
|
448
|
-
"
|
449
|
-
"beginCaptures": {
|
360
|
+
"name": "meta.display.attribute.use-map.wavefront.obj",
|
361
|
+
"match": "^\\s*(usemap)\\s+(?:(off)|(?!#)(\\S+)(?\u003c!#))",
|
362
|
+
"captures": {
|
450
363
|
"1": {
|
451
364
|
"name": "keyword.function.$1.wavefront.obj"
|
452
|
-
}
|
453
|
-
},
|
454
|
-
"patterns": [
|
455
|
-
{
|
456
|
-
"include": "#ijk"
|
457
365
|
},
|
458
|
-
{
|
459
|
-
"
|
366
|
+
"2": {
|
367
|
+
"name": "constant.language.boolean.off.wavefront.obj"
|
368
|
+
},
|
369
|
+
"3": {
|
370
|
+
"name": "variable.parameter.map-name.wavefront.obj"
|
460
371
|
}
|
461
|
-
|
372
|
+
}
|
462
373
|
},
|
463
374
|
{
|
464
|
-
"name": "meta.
|
465
|
-
"
|
466
|
-
"
|
467
|
-
"beginCaptures": {
|
375
|
+
"name": "meta.display.attribute.use-material.wavefront.obj",
|
376
|
+
"match": "^\\s*(usemtl)\\s+(?!#)(\\S+)(?\u003c!#)",
|
377
|
+
"captures": {
|
468
378
|
"1": {
|
469
379
|
"name": "keyword.function.$1.wavefront.obj"
|
380
|
+
},
|
381
|
+
"2": {
|
382
|
+
"name": "variable.parameter.material-name.wavefront.obj"
|
470
383
|
}
|
471
|
-
}
|
384
|
+
}
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"name": "meta.display.attribute.material-library.wavefront.obj",
|
388
|
+
"begin": "^\\s*(mtllib)(?=\\s|$|#)",
|
389
|
+
"end": "(?\u003c!\\\\)$|(?=#)",
|
472
390
|
"patterns": [
|
473
391
|
{
|
474
|
-
"
|
392
|
+
"name": "string.filename.wavefront.obj",
|
393
|
+
"match": "(?!#)\\S+(?\u003c!#)"
|
475
394
|
},
|
476
395
|
{
|
477
396
|
"include": "#global"
|
478
397
|
}
|
479
|
-
]
|
480
|
-
|
481
|
-
]
|
482
|
-
},
|
483
|
-
"attributes": {
|
484
|
-
"patterns": [
|
485
|
-
{
|
486
|
-
"name": "meta.free-form.attribute.type.wavefront.obj",
|
487
|
-
"match": "^\\s*(cstype)(?:\\s+(rat(?=\\s|$))?\\s*(?:(bmatrix|bezier|bspline|cardinal|taylor))?)?(?=\\s|$)",
|
488
|
-
"captures": {
|
398
|
+
],
|
399
|
+
"beginCaptures": {
|
489
400
|
"1": {
|
490
401
|
"name": "keyword.function.$1.wavefront.obj"
|
491
|
-
},
|
492
|
-
"2": {
|
493
|
-
"name": "entity.rational-form.wavefront.obj"
|
494
|
-
},
|
495
|
-
"3": {
|
496
|
-
"name": "entity.value.wavefront.obj"
|
497
402
|
}
|
498
403
|
}
|
499
404
|
},
|
500
405
|
{
|
501
|
-
"name": "meta.
|
502
|
-
"match": "^\\s*(
|
406
|
+
"name": "meta.display.attribute.shadow-object.wavefront.obj",
|
407
|
+
"match": "^\\s*(shadow_obj)\\s+(?!#)(\\S+)(?\u003c!#)",
|
503
408
|
"captures": {
|
504
409
|
"1": {
|
505
410
|
"name": "keyword.function.$1.wavefront.obj"
|
506
411
|
},
|
507
412
|
"2": {
|
508
|
-
"name": "
|
509
|
-
},
|
510
|
-
"3": {
|
511
|
-
"name": "constant.numeric.v-degree.wavefront.obj"
|
413
|
+
"name": "string.filename.wavefront.obj"
|
512
414
|
}
|
513
415
|
}
|
514
416
|
},
|
515
417
|
{
|
516
|
-
"name": "meta.
|
517
|
-
"
|
518
|
-
"
|
519
|
-
"contentName": "meta.matrix.wavefront.obj",
|
520
|
-
"beginCaptures": {
|
418
|
+
"name": "meta.display.attribute.trace-object.wavefront.obj",
|
419
|
+
"match": "^\\s*(trace_obj)\\s+(?!#)(\\S+)(?\u003c!#)",
|
420
|
+
"captures": {
|
521
421
|
"1": {
|
522
422
|
"name": "keyword.function.$1.wavefront.obj"
|
523
423
|
},
|
524
424
|
"2": {
|
525
|
-
"name": "
|
526
|
-
}
|
527
|
-
},
|
528
|
-
"patterns": [
|
529
|
-
{
|
530
|
-
"include": "#global"
|
425
|
+
"name": "string.filename.wavefront.obj"
|
531
426
|
}
|
532
|
-
|
427
|
+
}
|
533
428
|
},
|
534
429
|
{
|
535
|
-
"name": "meta.free-form.attribute.
|
536
|
-
"
|
537
|
-
"
|
430
|
+
"name": "meta.display.free-form.attribute.curve-technique.wavefront.obj",
|
431
|
+
"begin": "^\\s*(ctech)\\s+(cparm|cspace|curv)(?=\\s|$|#)",
|
432
|
+
"end": "(?\u003c!\\\\)$|(?=#)",
|
433
|
+
"patterns": [
|
434
|
+
{
|
435
|
+
"name": "entity.value.resolution.wavefront.obj",
|
436
|
+
"match": "\\G(?\u003c=cparm)\\s+([-\\d.]+)",
|
437
|
+
"captures": {
|
438
|
+
"1": {
|
439
|
+
"patterns": [
|
440
|
+
{
|
441
|
+
"include": "#number"
|
442
|
+
}
|
443
|
+
]
|
444
|
+
}
|
445
|
+
}
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"name": "entity.value.max-length.wavefront.obj",
|
449
|
+
"match": "\\G(?\u003c=cspace)\\s+([-\\d.]+)",
|
450
|
+
"captures": {
|
451
|
+
"1": {
|
452
|
+
"patterns": [
|
453
|
+
{
|
454
|
+
"include": "#number"
|
455
|
+
}
|
456
|
+
]
|
457
|
+
}
|
458
|
+
}
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"match": "\\G(?\u003c=curv)\\s+([-\\d.]+)\\s+([-\\d.]+)",
|
462
|
+
"captures": {
|
463
|
+
"1": {
|
464
|
+
"name": "entity.value.max-distance.wavefront.obj",
|
465
|
+
"patterns": [
|
466
|
+
{
|
467
|
+
"include": "#number"
|
468
|
+
}
|
469
|
+
]
|
470
|
+
},
|
471
|
+
"2": {
|
472
|
+
"name": "entity.value.max-angle.wavefront.obj",
|
473
|
+
"patterns": [
|
474
|
+
{
|
475
|
+
"include": "#number"
|
476
|
+
}
|
477
|
+
]
|
478
|
+
}
|
479
|
+
}
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"include": "#global"
|
483
|
+
}
|
484
|
+
],
|
485
|
+
"beginCaptures": {
|
538
486
|
"1": {
|
539
487
|
"name": "keyword.function.$1.wavefront.obj"
|
540
488
|
},
|
541
489
|
"2": {
|
542
|
-
"name": "constant.
|
490
|
+
"name": "constant.language.$2.wavefront.obj"
|
491
|
+
}
|
492
|
+
}
|
493
|
+
},
|
494
|
+
{
|
495
|
+
"name": "meta.display.free-form.attribute.surface-technique.wavefront.obj",
|
496
|
+
"begin": "^\\s*(stech)\\s+(cparma|cparmb|cspace|curv)(?=\\s|$|#)",
|
497
|
+
"end": "(?\u003c!\\\\)$|(?=#)",
|
498
|
+
"patterns": [
|
499
|
+
{
|
500
|
+
"match": "\\G(?\u003c=cparma)\\s+([-\\d.]+)\\s+([-\\d.]+)",
|
501
|
+
"captures": {
|
502
|
+
"1": {
|
503
|
+
"name": "entity.value.u-resolution.wavefront.obj",
|
504
|
+
"patterns": [
|
505
|
+
{
|
506
|
+
"include": "#number"
|
507
|
+
}
|
508
|
+
]
|
509
|
+
},
|
510
|
+
"2": {
|
511
|
+
"name": "entity.value.v-resolution.wavefront.obj",
|
512
|
+
"patterns": [
|
513
|
+
{
|
514
|
+
"include": "#number"
|
515
|
+
}
|
516
|
+
]
|
517
|
+
}
|
518
|
+
}
|
543
519
|
},
|
544
|
-
|
545
|
-
"name": "
|
520
|
+
{
|
521
|
+
"name": "entity.value.uv-resolution.wavefront.obj",
|
522
|
+
"match": "\\G(?\u003c=cparmb)\\s+([-\\d.]+)",
|
523
|
+
"captures": {
|
524
|
+
"1": {
|
525
|
+
"patterns": [
|
526
|
+
{
|
527
|
+
"include": "#number"
|
528
|
+
}
|
529
|
+
]
|
530
|
+
}
|
531
|
+
}
|
532
|
+
},
|
533
|
+
{
|
534
|
+
"name": "entity.value.max-length.wavefront.obj",
|
535
|
+
"match": "\\G(?\u003c=cspace)\\s+([-\\d.]+)",
|
536
|
+
"captures": {
|
537
|
+
"1": {
|
538
|
+
"patterns": [
|
539
|
+
{
|
540
|
+
"include": "#number"
|
541
|
+
}
|
542
|
+
]
|
543
|
+
}
|
544
|
+
}
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"match": "\\G(?\u003c=curv)\\s+([-\\d.]+)\\s+([-\\d.]+)",
|
548
|
+
"captures": {
|
549
|
+
"1": {
|
550
|
+
"name": "entity.value.max-distance.wavefront.obj",
|
551
|
+
"patterns": [
|
552
|
+
{
|
553
|
+
"include": "#number"
|
554
|
+
}
|
555
|
+
]
|
556
|
+
},
|
557
|
+
"2": {
|
558
|
+
"name": "entity.value.max-angle.wavefront.obj",
|
559
|
+
"patterns": [
|
560
|
+
{
|
561
|
+
"include": "#number"
|
562
|
+
}
|
563
|
+
]
|
564
|
+
}
|
565
|
+
}
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"include": "#global"
|
569
|
+
}
|
570
|
+
],
|
571
|
+
"beginCaptures": {
|
572
|
+
"1": {
|
573
|
+
"name": "keyword.function.$1.wavefront.obj"
|
574
|
+
},
|
575
|
+
"2": {
|
576
|
+
"name": "constant.language.$2.wavefront.obj"
|
546
577
|
}
|
547
578
|
}
|
548
579
|
}
|
@@ -553,12 +584,7 @@
|
|
553
584
|
{
|
554
585
|
"name": "meta.polygonal.element.point.wavefront.obj",
|
555
586
|
"begin": "^\\s*(p)(?:\\s|$|#)",
|
556
|
-
"end": "(
|
557
|
-
"beginCaptures": {
|
558
|
-
"1": {
|
559
|
-
"name": "keyword.function.$1.wavefront.obj"
|
560
|
-
}
|
561
|
-
},
|
587
|
+
"end": "(?\u003c!\\\\)$",
|
562
588
|
"patterns": [
|
563
589
|
{
|
564
590
|
"include": "#vertref-single"
|
@@ -566,17 +592,17 @@
|
|
566
592
|
{
|
567
593
|
"include": "#global"
|
568
594
|
}
|
569
|
-
]
|
570
|
-
},
|
571
|
-
{
|
572
|
-
"name": "meta.polygonal.element.line.wavefront.obj",
|
573
|
-
"begin": "^\\s*(l)(?:\\s|$|#)",
|
574
|
-
"end": "(?<!\\\\)$",
|
595
|
+
],
|
575
596
|
"beginCaptures": {
|
576
597
|
"1": {
|
577
598
|
"name": "keyword.function.$1.wavefront.obj"
|
578
599
|
}
|
579
|
-
}
|
600
|
+
}
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"name": "meta.polygonal.element.line.wavefront.obj",
|
604
|
+
"begin": "^\\s*(l)(?:\\s|$|#)",
|
605
|
+
"end": "(?\u003c!\\\\)$",
|
580
606
|
"patterns": [
|
581
607
|
{
|
582
608
|
"include": "#vertref-double"
|
@@ -587,12 +613,25 @@
|
|
587
613
|
{
|
588
614
|
"include": "#global"
|
589
615
|
}
|
590
|
-
]
|
616
|
+
],
|
617
|
+
"beginCaptures": {
|
618
|
+
"1": {
|
619
|
+
"name": "keyword.function.$1.wavefront.obj"
|
620
|
+
}
|
621
|
+
}
|
591
622
|
},
|
592
623
|
{
|
593
624
|
"name": "meta.polygonal.element.face.wavefront.obj",
|
594
625
|
"begin": "^\\s*(?:(f)|(fo))(?:\\s|$|#)",
|
595
|
-
"end": "(
|
626
|
+
"end": "(?\u003c!\\\\)$",
|
627
|
+
"patterns": [
|
628
|
+
{
|
629
|
+
"include": "#vertref"
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"include": "#global"
|
633
|
+
}
|
634
|
+
],
|
596
635
|
"beginCaptures": {
|
597
636
|
"1": {
|
598
637
|
"name": "keyword.function.$1.wavefront.obj"
|
@@ -600,20 +639,20 @@
|
|
600
639
|
"2": {
|
601
640
|
"name": "invalid.deprecated.wavefront.obj"
|
602
641
|
}
|
603
|
-
}
|
642
|
+
}
|
643
|
+
},
|
644
|
+
{
|
645
|
+
"name": "meta.free-form.element.curve.wavefront.obj",
|
646
|
+
"begin": "^\\s*(curv)\\s+([-\\d.]+)\\s+([-\\d.]+)",
|
647
|
+
"end": "(?\u003c!\\\\)$",
|
604
648
|
"patterns": [
|
605
649
|
{
|
606
|
-
"include": "#vertref"
|
650
|
+
"include": "#vertref-single"
|
607
651
|
},
|
608
652
|
{
|
609
653
|
"include": "#global"
|
610
654
|
}
|
611
|
-
]
|
612
|
-
},
|
613
|
-
{
|
614
|
-
"name": "meta.free-form.element.curve.wavefront.obj",
|
615
|
-
"begin": "^\\s*(curv)\\s+([-\\d.]+)\\s+([-\\d.]+)",
|
616
|
-
"end": "(?<!\\\\)$",
|
655
|
+
],
|
617
656
|
"beginCaptures": {
|
618
657
|
"1": {
|
619
658
|
"name": "keyword.function.$1.wavefront.obj"
|
@@ -634,7 +673,12 @@
|
|
634
673
|
}
|
635
674
|
]
|
636
675
|
}
|
637
|
-
}
|
676
|
+
}
|
677
|
+
},
|
678
|
+
{
|
679
|
+
"name": "meta.free-form.element.curve-2d.wavefront.obj",
|
680
|
+
"begin": "^\\s*(curv2)(?:\\s|$|#)",
|
681
|
+
"end": "(?\u003c!\\\\)$",
|
638
682
|
"patterns": [
|
639
683
|
{
|
640
684
|
"include": "#vertref-single"
|
@@ -642,30 +686,25 @@
|
|
642
686
|
{
|
643
687
|
"include": "#global"
|
644
688
|
}
|
645
|
-
]
|
646
|
-
},
|
647
|
-
{
|
648
|
-
"name": "meta.free-form.element.curve-2d.wavefront.obj",
|
649
|
-
"begin": "^\\s*(curv2)(?:\\s|$|#)",
|
650
|
-
"end": "(?<!\\\\)$",
|
689
|
+
],
|
651
690
|
"beginCaptures": {
|
652
691
|
"1": {
|
653
692
|
"name": "keyword.function.$1.wavefront.obj"
|
654
693
|
}
|
655
|
-
}
|
694
|
+
}
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"name": "meta.free-form.element.surface.wavefront.obj",
|
698
|
+
"begin": "^\\s*(surf)\\s+([-\\d.]+)\\s+([-\\d.]+)\\s+([-\\d.]+)\\s+([-\\d.]+)",
|
699
|
+
"end": "(?\u003c!\\\\)$",
|
656
700
|
"patterns": [
|
657
701
|
{
|
658
|
-
"include": "#vertref
|
702
|
+
"include": "#vertref"
|
659
703
|
},
|
660
704
|
{
|
661
705
|
"include": "#global"
|
662
706
|
}
|
663
|
-
]
|
664
|
-
},
|
665
|
-
{
|
666
|
-
"name": "meta.free-form.element.surface.wavefront.obj",
|
667
|
-
"begin": "^\\s*(surf)\\s+([-\\d.]+)\\s+([-\\d.]+)\\s+([-\\d.]+)\\s+([-\\d.]+)",
|
668
|
-
"end": "(?<!\\\\)$",
|
707
|
+
],
|
669
708
|
"beginCaptures": {
|
670
709
|
"1": {
|
671
710
|
"name": "keyword.function.$1.wavefront.obj"
|
@@ -702,192 +741,105 @@
|
|
702
741
|
}
|
703
742
|
]
|
704
743
|
}
|
705
|
-
}
|
706
|
-
"patterns": [
|
707
|
-
{
|
708
|
-
"include": "#vertref"
|
709
|
-
},
|
710
|
-
{
|
711
|
-
"include": "#global"
|
712
|
-
}
|
713
|
-
]
|
744
|
+
}
|
714
745
|
}
|
715
746
|
]
|
716
747
|
},
|
717
|
-
"
|
748
|
+
"general": {
|
718
749
|
"patterns": [
|
719
750
|
{
|
720
|
-
"name": "meta.
|
721
|
-
"begin": "^\\s*(
|
722
|
-
"end": "
|
751
|
+
"name": "meta.function-call.$1.wavefront.obj",
|
752
|
+
"begin": "^\\s*(call)(?:\\s+(?!#)(\\S+)?)?",
|
753
|
+
"end": "$",
|
754
|
+
"patterns": [
|
755
|
+
{
|
756
|
+
"include": "#args"
|
757
|
+
}
|
758
|
+
],
|
723
759
|
"beginCaptures": {
|
724
760
|
"1": {
|
725
761
|
"name": "keyword.function.$1.wavefront.obj"
|
726
762
|
},
|
727
763
|
"2": {
|
728
|
-
"name": "
|
764
|
+
"name": "string.filename.wavefront.obj"
|
729
765
|
}
|
730
|
-
}
|
766
|
+
}
|
767
|
+
},
|
768
|
+
{
|
769
|
+
"name": "meta.function-call.$1.ignore-errors.wavefront.obj",
|
770
|
+
"begin": "^\\s*(csh)(?:\\s+(-)(\\w*))",
|
771
|
+
"end": "$",
|
731
772
|
"patterns": [
|
732
773
|
{
|
733
|
-
"include": "#
|
774
|
+
"include": "#args"
|
734
775
|
}
|
735
|
-
]
|
736
|
-
},
|
737
|
-
{
|
738
|
-
"name": "meta.body-statement.trimming-loop.wavefront.obj",
|
739
|
-
"begin": "^\\s*(trim)(?:\\s+|$|#)",
|
740
|
-
"end": "(?<!\\\\)$",
|
776
|
+
],
|
741
777
|
"beginCaptures": {
|
742
778
|
"1": {
|
743
779
|
"name": "keyword.function.$1.wavefront.obj"
|
744
|
-
}
|
745
|
-
},
|
746
|
-
"patterns": [
|
747
|
-
{
|
748
|
-
"include": "#curveref"
|
749
780
|
},
|
750
|
-
{
|
751
|
-
"
|
781
|
+
"2": {
|
782
|
+
"name": "punctuation.definition.dash.wavefront.obj"
|
783
|
+
},
|
784
|
+
"3": {
|
785
|
+
"name": "string.command-name.wavefront.obj"
|
752
786
|
}
|
753
|
-
|
787
|
+
}
|
754
788
|
},
|
755
789
|
{
|
756
|
-
"name": "meta.
|
757
|
-
"begin": "^\\s*(
|
758
|
-
"end": "
|
790
|
+
"name": "meta.function-call.$1.wavefront.obj",
|
791
|
+
"begin": "^\\s*(csh)(?:\\s+(\\w+))?",
|
792
|
+
"end": "$",
|
793
|
+
"patterns": [
|
794
|
+
{
|
795
|
+
"include": "#args"
|
796
|
+
}
|
797
|
+
],
|
759
798
|
"beginCaptures": {
|
760
799
|
"1": {
|
761
800
|
"name": "keyword.function.$1.wavefront.obj"
|
801
|
+
},
|
802
|
+
"2": {
|
803
|
+
"name": "string.command-name.wavefront.obj"
|
762
804
|
}
|
763
|
-
}
|
764
|
-
"patterns": [
|
765
|
-
{
|
766
|
-
"include": "#curveref"
|
767
|
-
},
|
768
|
-
{
|
769
|
-
"include": "#global"
|
770
|
-
}
|
771
|
-
]
|
772
|
-
},
|
773
|
-
{
|
774
|
-
"name": "meta.body-statement.special-point.wavefront.obj",
|
775
|
-
"begin": "^\\s*(sp)(?:\\s+|$|#)",
|
776
|
-
"end": "(?<!\\\\)$",
|
777
|
-
"beginCaptures": {
|
778
|
-
"1": {
|
779
|
-
"name": "keyword.function.$1.wavefront.obj"
|
780
|
-
}
|
781
|
-
},
|
782
|
-
"patterns": [
|
783
|
-
{
|
784
|
-
"include": "#vertref-single"
|
785
|
-
},
|
786
|
-
{
|
787
|
-
"include": "#global"
|
788
|
-
}
|
789
|
-
]
|
790
|
-
},
|
791
|
-
{
|
792
|
-
"name": "keyword.control.body-statement.end.wavefront.obj",
|
793
|
-
"match": "^\\s*end(?=\\s|$|#)"
|
805
|
+
}
|
794
806
|
}
|
795
807
|
]
|
796
808
|
},
|
797
|
-
"
|
798
|
-
"
|
799
|
-
|
800
|
-
|
801
|
-
"1": {
|
802
|
-
"name": "keyword.function.$1.wavefront.obj"
|
803
|
-
},
|
804
|
-
"2": {
|
805
|
-
"name": "entity.value.first-surface.index.wavefront.obj",
|
806
|
-
"patterns": [
|
807
|
-
{
|
808
|
-
"include": "#number"
|
809
|
-
}
|
810
|
-
]
|
811
|
-
},
|
812
|
-
"3": {
|
813
|
-
"name": "entity.value.first-surface.start.wavefront.obj",
|
814
|
-
"patterns": [
|
815
|
-
{
|
816
|
-
"include": "#number"
|
817
|
-
}
|
818
|
-
]
|
819
|
-
},
|
820
|
-
"4": {
|
821
|
-
"name": "entity.value.first-surface.end.wavefront.obj",
|
822
|
-
"patterns": [
|
823
|
-
{
|
824
|
-
"include": "#number"
|
825
|
-
}
|
826
|
-
]
|
827
|
-
},
|
828
|
-
"5": {
|
829
|
-
"name": "entity.value.first-surface.curve.wavefront.obj",
|
830
|
-
"patterns": [
|
831
|
-
{
|
832
|
-
"include": "#number"
|
833
|
-
}
|
834
|
-
]
|
835
|
-
},
|
836
|
-
"6": {
|
837
|
-
"name": "entity.value.first-surface.index.wavefront.obj",
|
838
|
-
"patterns": [
|
839
|
-
{
|
840
|
-
"include": "#number"
|
841
|
-
}
|
842
|
-
]
|
843
|
-
},
|
844
|
-
"7": {
|
845
|
-
"name": "entity.value.first-surface.start.wavefront.obj",
|
846
|
-
"patterns": [
|
847
|
-
{
|
848
|
-
"include": "#number"
|
849
|
-
}
|
850
|
-
]
|
809
|
+
"global": {
|
810
|
+
"patterns": [
|
811
|
+
{
|
812
|
+
"include": "#comment"
|
851
813
|
},
|
852
|
-
|
853
|
-
"
|
854
|
-
"patterns": [
|
855
|
-
{
|
856
|
-
"include": "#number"
|
857
|
-
}
|
858
|
-
]
|
814
|
+
{
|
815
|
+
"include": "#number"
|
859
816
|
},
|
860
|
-
|
861
|
-
"
|
862
|
-
"patterns": [
|
863
|
-
{
|
864
|
-
"include": "#number"
|
865
|
-
}
|
866
|
-
]
|
817
|
+
{
|
818
|
+
"include": "#line-continuation"
|
867
819
|
}
|
868
|
-
|
820
|
+
]
|
869
821
|
},
|
870
822
|
"grouping": {
|
871
823
|
"patterns": [
|
872
824
|
{
|
873
825
|
"name": "meta.grouping-statement.group.wavefront.obj",
|
874
|
-
"begin": "^\\s*(g)(?:\\s|$|#)",
|
875
|
-
"end": "(?<!\\\\)$|(?=#)",
|
876
826
|
"contentName": "meta.group-names.wavefront.obj",
|
877
|
-
"
|
878
|
-
|
879
|
-
"name": "keyword.function.$1.wavefront.obj"
|
880
|
-
}
|
881
|
-
},
|
827
|
+
"begin": "^\\s*(g)(?:\\s|$|#)",
|
828
|
+
"end": "(?\u003c!\\\\)$|(?=#)",
|
882
829
|
"patterns": [
|
883
830
|
{
|
884
831
|
"name": "variable.parameter.group-name.wavefront.obj",
|
885
|
-
"match": "(?!#)\\S+(
|
832
|
+
"match": "(?!#)\\S+(?\u003c!#)"
|
886
833
|
},
|
887
834
|
{
|
888
835
|
"include": "#global"
|
889
836
|
}
|
890
|
-
]
|
837
|
+
],
|
838
|
+
"beginCaptures": {
|
839
|
+
"1": {
|
840
|
+
"name": "keyword.function.$1.wavefront.obj"
|
841
|
+
}
|
842
|
+
}
|
891
843
|
},
|
892
844
|
{
|
893
845
|
"name": "meta.grouping-statement.smoothing-group.wavefront.obj",
|
@@ -934,7 +886,7 @@
|
|
934
886
|
},
|
935
887
|
{
|
936
888
|
"name": "meta.grouping-statement.user-defined.wavefront.obj",
|
937
|
-
"match": "^\\s*(o)\\s+(?!#)(\\S+)(
|
889
|
+
"match": "^\\s*(o)\\s+(?!#)(\\S+)(?\u003c!#)",
|
938
890
|
"captures": {
|
939
891
|
"1": {
|
940
892
|
"name": "keyword.function.$1.wavefront.obj"
|
@@ -946,300 +898,115 @@
|
|
946
898
|
}
|
947
899
|
]
|
948
900
|
},
|
949
|
-
"
|
901
|
+
"ijk": {
|
902
|
+
"name": "meta.vector.ijk.wavefront.obj",
|
903
|
+
"match": "\\G\\s*(?!#)(\\S+)(?\u003c!#)\\s+(?!#)(\\S+)(?\u003c!#)\\s+(?!#)(\\S+)(?\u003c!#)",
|
904
|
+
"captures": {
|
905
|
+
"1": {
|
906
|
+
"name": "entity.i.coordinate.wavefront.obj",
|
907
|
+
"patterns": [
|
908
|
+
{
|
909
|
+
"include": "#number"
|
910
|
+
}
|
911
|
+
]
|
912
|
+
},
|
913
|
+
"2": {
|
914
|
+
"name": "entity.j.coordinate.wavefront.obj",
|
915
|
+
"patterns": [
|
916
|
+
{
|
917
|
+
"include": "#number"
|
918
|
+
}
|
919
|
+
]
|
920
|
+
},
|
921
|
+
"3": {
|
922
|
+
"name": "entity.k.coordinate.wavefront.obj",
|
923
|
+
"patterns": [
|
924
|
+
{
|
925
|
+
"include": "#number"
|
926
|
+
}
|
927
|
+
]
|
928
|
+
}
|
929
|
+
}
|
930
|
+
},
|
931
|
+
"line-continuation": {
|
932
|
+
"name": "constant.character.escape.newline.wavefront.obj",
|
933
|
+
"match": "\\\\\n"
|
934
|
+
},
|
935
|
+
"main": {
|
950
936
|
"patterns": [
|
951
937
|
{
|
952
|
-
"
|
953
|
-
"match": "^\\s*(bevel)\\s+(on|off)(?=\\s|$|#)",
|
954
|
-
"captures": {
|
955
|
-
"1": {
|
956
|
-
"name": "keyword.function.$1.wavefront.obj"
|
957
|
-
},
|
958
|
-
"2": {
|
959
|
-
"name": "constant.language.boolean.$2.wavefront.obj"
|
960
|
-
}
|
961
|
-
}
|
938
|
+
"include": "#comment"
|
962
939
|
},
|
963
940
|
{
|
964
|
-
"
|
965
|
-
"match": "^\\s*(c_interp)\\s+(on|off)(?=\\s|$|#)",
|
966
|
-
"captures": {
|
967
|
-
"1": {
|
968
|
-
"name": "keyword.function.$1.wavefront.obj"
|
969
|
-
},
|
970
|
-
"2": {
|
971
|
-
"name": "constant.language.boolean.$2.wavefront.obj"
|
972
|
-
}
|
973
|
-
}
|
941
|
+
"include": "#line-continuation"
|
974
942
|
},
|
975
943
|
{
|
976
|
-
"
|
977
|
-
"match": "^\\s*(d_interp)\\s+(on|off)(?=\\s|$|#)",
|
978
|
-
"captures": {
|
979
|
-
"1": {
|
980
|
-
"name": "keyword.function.$1.wavefront.obj"
|
981
|
-
},
|
982
|
-
"2": {
|
983
|
-
"name": "constant.language.boolean.$2.wavefront.obj"
|
984
|
-
}
|
985
|
-
}
|
944
|
+
"include": "#general"
|
986
945
|
},
|
987
946
|
{
|
988
|
-
"
|
989
|
-
"match": "^\\s*(lod)\\s+([-\\d.]+)",
|
990
|
-
"captures": {
|
991
|
-
"1": {
|
992
|
-
"name": "keyword.function.$1.wavefront.obj"
|
993
|
-
},
|
994
|
-
"2": {
|
995
|
-
"name": "entity.value.wavefront.obj",
|
996
|
-
"patterns": [
|
997
|
-
{
|
998
|
-
"include": "#number"
|
999
|
-
}
|
1000
|
-
]
|
1001
|
-
}
|
1002
|
-
}
|
947
|
+
"include": "#vertex"
|
1003
948
|
},
|
1004
949
|
{
|
1005
|
-
"
|
1006
|
-
"begin": "^\\s*(maplib)(?=\\s|$|#)",
|
1007
|
-
"end": "(?<!\\\\)$|(?=#)",
|
1008
|
-
"beginCaptures": {
|
1009
|
-
"1": {
|
1010
|
-
"name": "keyword.function.$1.wavefront.obj"
|
1011
|
-
}
|
1012
|
-
},
|
1013
|
-
"patterns": [
|
1014
|
-
{
|
1015
|
-
"name": "string.filename.wavefront.obj",
|
1016
|
-
"match": "(?!#)\\S+(?<!#)"
|
1017
|
-
},
|
1018
|
-
{
|
1019
|
-
"include": "#global"
|
1020
|
-
}
|
1021
|
-
]
|
950
|
+
"include": "#elements"
|
1022
951
|
},
|
1023
952
|
{
|
1024
|
-
"
|
1025
|
-
"match": "^\\s*(usemap)\\s+(?:(off)|(?!#)(\\S+)(?<!#))",
|
1026
|
-
"captures": {
|
1027
|
-
"1": {
|
1028
|
-
"name": "keyword.function.$1.wavefront.obj"
|
1029
|
-
},
|
1030
|
-
"2": {
|
1031
|
-
"name": "constant.language.boolean.off.wavefront.obj"
|
1032
|
-
},
|
1033
|
-
"3": {
|
1034
|
-
"name": "variable.parameter.map-name.wavefront.obj"
|
1035
|
-
}
|
1036
|
-
}
|
953
|
+
"include": "#attributes"
|
1037
954
|
},
|
1038
955
|
{
|
1039
|
-
"
|
1040
|
-
"match": "^\\s*(usemtl)\\s+(?!#)(\\S+)(?<!#)",
|
1041
|
-
"captures": {
|
1042
|
-
"1": {
|
1043
|
-
"name": "keyword.function.$1.wavefront.obj"
|
1044
|
-
},
|
1045
|
-
"2": {
|
1046
|
-
"name": "variable.parameter.material-name.wavefront.obj"
|
1047
|
-
}
|
1048
|
-
}
|
956
|
+
"include": "#freeform"
|
1049
957
|
},
|
1050
958
|
{
|
1051
|
-
"
|
1052
|
-
"begin": "^\\s*(mtllib)(?=\\s|$|#)",
|
1053
|
-
"end": "(?<!\\\\)$|(?=#)",
|
1054
|
-
"beginCaptures": {
|
1055
|
-
"1": {
|
1056
|
-
"name": "keyword.function.$1.wavefront.obj"
|
1057
|
-
}
|
1058
|
-
},
|
1059
|
-
"patterns": [
|
1060
|
-
{
|
1061
|
-
"name": "string.filename.wavefront.obj",
|
1062
|
-
"match": "(?!#)\\S+(?<!#)"
|
1063
|
-
},
|
1064
|
-
{
|
1065
|
-
"include": "#global"
|
1066
|
-
}
|
1067
|
-
]
|
959
|
+
"include": "#body-statements"
|
1068
960
|
},
|
1069
961
|
{
|
1070
|
-
"
|
1071
|
-
"match": "^\\s*(shadow_obj)\\s+(?!#)(\\S+)(?<!#)",
|
1072
|
-
"captures": {
|
1073
|
-
"1": {
|
1074
|
-
"name": "keyword.function.$1.wavefront.obj"
|
1075
|
-
},
|
1076
|
-
"2": {
|
1077
|
-
"name": "string.filename.wavefront.obj"
|
1078
|
-
}
|
1079
|
-
}
|
962
|
+
"include": "#connect"
|
1080
963
|
},
|
1081
964
|
{
|
1082
|
-
"
|
1083
|
-
"match": "^\\s*(trace_obj)\\s+(?!#)(\\S+)(?<!#)",
|
1084
|
-
"captures": {
|
1085
|
-
"1": {
|
1086
|
-
"name": "keyword.function.$1.wavefront.obj"
|
1087
|
-
},
|
1088
|
-
"2": {
|
1089
|
-
"name": "string.filename.wavefront.obj"
|
1090
|
-
}
|
1091
|
-
}
|
965
|
+
"include": "#grouping"
|
1092
966
|
},
|
1093
967
|
{
|
1094
|
-
"
|
1095
|
-
"begin": "^\\s*(ctech)\\s+(cparm|cspace|curv)(?=\\s|$|#)",
|
1096
|
-
"end": "(?<!\\\\)$|(?=#)",
|
1097
|
-
"beginCaptures": {
|
1098
|
-
"1": {
|
1099
|
-
"name": "keyword.function.$1.wavefront.obj"
|
1100
|
-
},
|
1101
|
-
"2": {
|
1102
|
-
"name": "constant.language.$2.wavefront.obj"
|
1103
|
-
}
|
1104
|
-
},
|
1105
|
-
"patterns": [
|
1106
|
-
{
|
1107
|
-
"match": "\\G(?<=cparm)\\s+([-\\d.]+)",
|
1108
|
-
"name": "entity.value.resolution.wavefront.obj",
|
1109
|
-
"captures": {
|
1110
|
-
"1": {
|
1111
|
-
"patterns": [
|
1112
|
-
{
|
1113
|
-
"include": "#number"
|
1114
|
-
}
|
1115
|
-
]
|
1116
|
-
}
|
1117
|
-
}
|
1118
|
-
},
|
1119
|
-
{
|
1120
|
-
"match": "\\G(?<=cspace)\\s+([-\\d.]+)",
|
1121
|
-
"name": "entity.value.max-length.wavefront.obj",
|
1122
|
-
"captures": {
|
1123
|
-
"1": {
|
1124
|
-
"patterns": [
|
1125
|
-
{
|
1126
|
-
"include": "#number"
|
1127
|
-
}
|
1128
|
-
]
|
1129
|
-
}
|
1130
|
-
}
|
1131
|
-
},
|
1132
|
-
{
|
1133
|
-
"match": "\\G(?<=curv)\\s+([-\\d.]+)\\s+([-\\d.]+)",
|
1134
|
-
"captures": {
|
1135
|
-
"1": {
|
1136
|
-
"name": "entity.value.max-distance.wavefront.obj",
|
1137
|
-
"patterns": [
|
1138
|
-
{
|
1139
|
-
"include": "#number"
|
1140
|
-
}
|
1141
|
-
]
|
1142
|
-
},
|
1143
|
-
"2": {
|
1144
|
-
"name": "entity.value.max-angle.wavefront.obj",
|
1145
|
-
"patterns": [
|
1146
|
-
{
|
1147
|
-
"include": "#number"
|
1148
|
-
}
|
1149
|
-
]
|
1150
|
-
}
|
1151
|
-
}
|
1152
|
-
},
|
1153
|
-
{
|
1154
|
-
"include": "#global"
|
1155
|
-
}
|
1156
|
-
]
|
968
|
+
"include": "#display"
|
1157
969
|
},
|
1158
970
|
{
|
1159
|
-
"
|
1160
|
-
|
1161
|
-
|
1162
|
-
"
|
971
|
+
"include": "#superseded"
|
972
|
+
},
|
973
|
+
{
|
974
|
+
"include": "#number"
|
975
|
+
}
|
976
|
+
]
|
977
|
+
},
|
978
|
+
"number": {
|
979
|
+
"patterns": [
|
980
|
+
{
|
981
|
+
"name": "constant.numeric.integer.wavefront.obj",
|
982
|
+
"match": "(?\u003c=[\\s,]|^)-?\\d+(?![-\\d.])"
|
983
|
+
},
|
984
|
+
{
|
985
|
+
"name": "constant.numeric.float.wavefront.obj",
|
986
|
+
"match": "(?\u003c=[\\s,]|^)-?(\\d+)(?:(\\.)(\\d+))?\\b",
|
987
|
+
"captures": {
|
1163
988
|
"1": {
|
1164
|
-
"name": "
|
1165
|
-
},
|
1166
|
-
"2": {
|
1167
|
-
"name": "constant.language.$2.wavefront.obj"
|
1168
|
-
}
|
1169
|
-
},
|
1170
|
-
"patterns": [
|
1171
|
-
{
|
1172
|
-
"match": "\\G(?<=cparma)\\s+([-\\d.]+)\\s+([-\\d.]+)",
|
1173
|
-
"captures": {
|
1174
|
-
"1": {
|
1175
|
-
"name": "entity.value.u-resolution.wavefront.obj",
|
1176
|
-
"patterns": [
|
1177
|
-
{
|
1178
|
-
"include": "#number"
|
1179
|
-
}
|
1180
|
-
]
|
1181
|
-
},
|
1182
|
-
"2": {
|
1183
|
-
"name": "entity.value.v-resolution.wavefront.obj",
|
1184
|
-
"patterns": [
|
1185
|
-
{
|
1186
|
-
"include": "#number"
|
1187
|
-
}
|
1188
|
-
]
|
1189
|
-
}
|
1190
|
-
}
|
1191
|
-
},
|
1192
|
-
{
|
1193
|
-
"match": "\\G(?<=cparmb)\\s+([-\\d.]+)",
|
1194
|
-
"name": "entity.value.uv-resolution.wavefront.obj",
|
1195
|
-
"captures": {
|
1196
|
-
"1": {
|
1197
|
-
"patterns": [
|
1198
|
-
{
|
1199
|
-
"include": "#number"
|
1200
|
-
}
|
1201
|
-
]
|
1202
|
-
}
|
1203
|
-
}
|
1204
|
-
},
|
1205
|
-
{
|
1206
|
-
"match": "\\G(?<=cspace)\\s+([-\\d.]+)",
|
1207
|
-
"name": "entity.value.max-length.wavefront.obj",
|
1208
|
-
"captures": {
|
1209
|
-
"1": {
|
1210
|
-
"patterns": [
|
1211
|
-
{
|
1212
|
-
"include": "#number"
|
1213
|
-
}
|
1214
|
-
]
|
1215
|
-
}
|
1216
|
-
}
|
989
|
+
"name": "leading.decimal"
|
1217
990
|
},
|
1218
|
-
{
|
1219
|
-
"
|
1220
|
-
"captures": {
|
1221
|
-
"1": {
|
1222
|
-
"name": "entity.value.max-distance.wavefront.obj",
|
1223
|
-
"patterns": [
|
1224
|
-
{
|
1225
|
-
"include": "#number"
|
1226
|
-
}
|
1227
|
-
]
|
1228
|
-
},
|
1229
|
-
"2": {
|
1230
|
-
"name": "entity.value.max-angle.wavefront.obj",
|
1231
|
-
"patterns": [
|
1232
|
-
{
|
1233
|
-
"include": "#number"
|
1234
|
-
}
|
1235
|
-
]
|
1236
|
-
}
|
1237
|
-
}
|
991
|
+
"2": {
|
992
|
+
"name": "decimal.separator"
|
1238
993
|
},
|
1239
|
-
{
|
1240
|
-
"
|
994
|
+
"3": {
|
995
|
+
"name": "trailing.decimal"
|
1241
996
|
}
|
1242
|
-
|
997
|
+
}
|
998
|
+
},
|
999
|
+
{
|
1000
|
+
"name": "constant.numeric.float.no-leading-digits.wavefront.obj",
|
1001
|
+
"match": "(?\u003c=[\\s,]|^)-?(\\.)(\\d+)\\b",
|
1002
|
+
"captures": {
|
1003
|
+
"1": {
|
1004
|
+
"name": "decimal.separator"
|
1005
|
+
},
|
1006
|
+
"2": {
|
1007
|
+
"name": "trailing.decimal"
|
1008
|
+
}
|
1009
|
+
}
|
1243
1010
|
}
|
1244
1011
|
]
|
1245
1012
|
},
|
@@ -1339,6 +1106,236 @@
|
|
1339
1106
|
}
|
1340
1107
|
}
|
1341
1108
|
]
|
1109
|
+
},
|
1110
|
+
"uvw": {
|
1111
|
+
"name": "meta.vector.uvw.wavefront.obj",
|
1112
|
+
"match": "\\G\\s*(?!#)(\\S+)(?\u003c!#)\\s+(?!#)(\\S+)(?\u003c!#)\\s+(?!#)(\\S+)(?\u003c!#)",
|
1113
|
+
"captures": {
|
1114
|
+
"1": {
|
1115
|
+
"name": "entity.u.coordinate.wavefront.obj",
|
1116
|
+
"patterns": [
|
1117
|
+
{
|
1118
|
+
"include": "#number"
|
1119
|
+
}
|
1120
|
+
]
|
1121
|
+
},
|
1122
|
+
"2": {
|
1123
|
+
"name": "entity.v.coordinate.wavefront.obj",
|
1124
|
+
"patterns": [
|
1125
|
+
{
|
1126
|
+
"include": "#number"
|
1127
|
+
}
|
1128
|
+
]
|
1129
|
+
},
|
1130
|
+
"3": {
|
1131
|
+
"name": "entity.w.coordinate.wavefront.obj",
|
1132
|
+
"patterns": [
|
1133
|
+
{
|
1134
|
+
"include": "#number"
|
1135
|
+
}
|
1136
|
+
]
|
1137
|
+
}
|
1138
|
+
}
|
1139
|
+
},
|
1140
|
+
"vertex": {
|
1141
|
+
"patterns": [
|
1142
|
+
{
|
1143
|
+
"name": "meta.vertex.geometric.wavefront.obj",
|
1144
|
+
"begin": "^\\s*(v)(?=\\s|$|#)",
|
1145
|
+
"end": "(?=$|#)",
|
1146
|
+
"patterns": [
|
1147
|
+
{
|
1148
|
+
"include": "#xyzw"
|
1149
|
+
},
|
1150
|
+
{
|
1151
|
+
"include": "#global"
|
1152
|
+
}
|
1153
|
+
],
|
1154
|
+
"beginCaptures": {
|
1155
|
+
"1": {
|
1156
|
+
"name": "keyword.function.$1.wavefront.obj"
|
1157
|
+
}
|
1158
|
+
}
|
1159
|
+
},
|
1160
|
+
{
|
1161
|
+
"name": "meta.vertex.parameter-space.wavefront.obj",
|
1162
|
+
"begin": "^\\s*(vp)(?=\\s|$)",
|
1163
|
+
"end": "$",
|
1164
|
+
"patterns": [
|
1165
|
+
{
|
1166
|
+
"include": "#uvw"
|
1167
|
+
},
|
1168
|
+
{
|
1169
|
+
"include": "#global"
|
1170
|
+
}
|
1171
|
+
],
|
1172
|
+
"beginCaptures": {
|
1173
|
+
"1": {
|
1174
|
+
"name": "keyword.function.$1.wavefront.obj"
|
1175
|
+
}
|
1176
|
+
}
|
1177
|
+
},
|
1178
|
+
{
|
1179
|
+
"name": "meta.vertex.normal.wavefront.obj",
|
1180
|
+
"begin": "^\\s*(vn)(?=\\s|$)",
|
1181
|
+
"end": "$",
|
1182
|
+
"patterns": [
|
1183
|
+
{
|
1184
|
+
"include": "#ijk"
|
1185
|
+
},
|
1186
|
+
{
|
1187
|
+
"include": "#global"
|
1188
|
+
}
|
1189
|
+
],
|
1190
|
+
"beginCaptures": {
|
1191
|
+
"1": {
|
1192
|
+
"name": "keyword.function.$1.wavefront.obj"
|
1193
|
+
}
|
1194
|
+
}
|
1195
|
+
},
|
1196
|
+
{
|
1197
|
+
"name": "meta.vertex.texture.wavefront.obj",
|
1198
|
+
"begin": "^\\s*(vt)(?=\\s|$)",
|
1199
|
+
"end": "$",
|
1200
|
+
"patterns": [
|
1201
|
+
{
|
1202
|
+
"include": "#uvw"
|
1203
|
+
},
|
1204
|
+
{
|
1205
|
+
"include": "#global"
|
1206
|
+
}
|
1207
|
+
],
|
1208
|
+
"beginCaptures": {
|
1209
|
+
"1": {
|
1210
|
+
"name": "keyword.function.$1.wavefront.obj"
|
1211
|
+
}
|
1212
|
+
}
|
1213
|
+
}
|
1214
|
+
]
|
1215
|
+
},
|
1216
|
+
"vertref": {
|
1217
|
+
"patterns": [
|
1218
|
+
{
|
1219
|
+
"include": "#vertref-triple"
|
1220
|
+
},
|
1221
|
+
{
|
1222
|
+
"include": "#vertref-double"
|
1223
|
+
},
|
1224
|
+
{
|
1225
|
+
"include": "#vertref-single"
|
1226
|
+
}
|
1227
|
+
]
|
1228
|
+
},
|
1229
|
+
"vertref-double": {
|
1230
|
+
"name": "meta.vertex-reference.double.wavefront.obj",
|
1231
|
+
"match": "(?\u003c=\\s)(-?\\d+)(\\/)(-?\\d+)(?=\\s|$)",
|
1232
|
+
"captures": {
|
1233
|
+
"1": {
|
1234
|
+
"name": "meta.first.wavefront.obj",
|
1235
|
+
"patterns": [
|
1236
|
+
{
|
1237
|
+
"include": "#vertref"
|
1238
|
+
}
|
1239
|
+
]
|
1240
|
+
},
|
1241
|
+
"2": {
|
1242
|
+
"name": "punctuation.separator.slash.wavefront.obj"
|
1243
|
+
},
|
1244
|
+
"3": {
|
1245
|
+
"name": "meta.second.wavefront.obj",
|
1246
|
+
"patterns": [
|
1247
|
+
{
|
1248
|
+
"include": "#vertref"
|
1249
|
+
}
|
1250
|
+
]
|
1251
|
+
}
|
1252
|
+
}
|
1253
|
+
},
|
1254
|
+
"vertref-single": {
|
1255
|
+
"patterns": [
|
1256
|
+
{
|
1257
|
+
"name": "constant.numeric.vertex-reference.relative.wavefront.obj",
|
1258
|
+
"match": "-\\d+"
|
1259
|
+
},
|
1260
|
+
{
|
1261
|
+
"name": "constant.numeric.vertex-reference.absolute.wavefront.obj",
|
1262
|
+
"match": "\\d+"
|
1263
|
+
}
|
1264
|
+
]
|
1265
|
+
},
|
1266
|
+
"vertref-triple": {
|
1267
|
+
"name": "meta.vertex-reference.triple.wavefront.obj",
|
1268
|
+
"match": "(?\u003c=\\s)(-?\\d+)(\\/)(-?\\d+)?(\\/)(-?\\d+)(?=\\s|$)",
|
1269
|
+
"captures": {
|
1270
|
+
"1": {
|
1271
|
+
"name": "meta.first.wavefront.obj",
|
1272
|
+
"patterns": [
|
1273
|
+
{
|
1274
|
+
"include": "#vertref"
|
1275
|
+
}
|
1276
|
+
]
|
1277
|
+
},
|
1278
|
+
"2": {
|
1279
|
+
"name": "punctuation.separator.slash.wavefront.obj"
|
1280
|
+
},
|
1281
|
+
"3": {
|
1282
|
+
"name": "meta.second.wavefront.obj",
|
1283
|
+
"patterns": [
|
1284
|
+
{
|
1285
|
+
"include": "#vertref"
|
1286
|
+
}
|
1287
|
+
]
|
1288
|
+
},
|
1289
|
+
"4": {
|
1290
|
+
"name": "punctuation.separator.slash.wavefront.obj"
|
1291
|
+
},
|
1292
|
+
"5": {
|
1293
|
+
"name": "meta.third.wavefront.obj",
|
1294
|
+
"patterns": [
|
1295
|
+
{
|
1296
|
+
"include": "#vertref"
|
1297
|
+
}
|
1298
|
+
]
|
1299
|
+
}
|
1300
|
+
}
|
1301
|
+
},
|
1302
|
+
"xyzw": {
|
1303
|
+
"name": "meta.vector.xyzw.wavefront.obj",
|
1304
|
+
"match": "\\G\\s*(?!#)(\\S+)(?\u003c!#)\\s+(?!#)(\\S+)(?\u003c!#)\\s+(?!#)(\\S+)(?\u003c!#)(?:\\s+(?!#)(\\S+)(?\u003c!#))?",
|
1305
|
+
"captures": {
|
1306
|
+
"1": {
|
1307
|
+
"name": "entity.x.coordinate.wavefront.obj",
|
1308
|
+
"patterns": [
|
1309
|
+
{
|
1310
|
+
"include": "#number"
|
1311
|
+
}
|
1312
|
+
]
|
1313
|
+
},
|
1314
|
+
"2": {
|
1315
|
+
"name": "entity.y.coordinate.wavefront.obj",
|
1316
|
+
"patterns": [
|
1317
|
+
{
|
1318
|
+
"include": "#number"
|
1319
|
+
}
|
1320
|
+
]
|
1321
|
+
},
|
1322
|
+
"3": {
|
1323
|
+
"name": "entity.z.coordinate.wavefront.obj",
|
1324
|
+
"patterns": [
|
1325
|
+
{
|
1326
|
+
"include": "#number"
|
1327
|
+
}
|
1328
|
+
]
|
1329
|
+
},
|
1330
|
+
"4": {
|
1331
|
+
"name": "entity.w.weight.wavefront.obj",
|
1332
|
+
"patterns": [
|
1333
|
+
{
|
1334
|
+
"include": "#number"
|
1335
|
+
}
|
1336
|
+
]
|
1337
|
+
}
|
1338
|
+
}
|
1342
1339
|
}
|
1343
1340
|
}
|
1344
|
-
}
|
1341
|
+
}
|