annotate runtime/syntax/mupad.vim @ 8989:e600e696c0a1 v7.4.1780

commit https://github.com/vim/vim/commit/dc633cf82758f67f656cda7fa8ccc30414ee53f8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 23 14:33:19 2016 +0200 patch 7.4.1780 Problem: Warnings reported by cppcheck. Solution: Fix the warnings. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Sat, 23 Apr 2016 14:45:05 +0200
parents 289b19a6f2ed
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
391
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
1 " Vim syntax file
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
2 " Language: MuPAD source
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
3 " Maintainer: Dave Silvia <dsilvia@mchsi.com>
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
4 " Filenames: *.mu
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
5 " Date: 6/30/2004
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
6
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
7
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
8 " For version 5.x: Clear all syntax items
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
9 " For version 6.x: Quit when a syntax file was already loaded
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
10 if version < 600
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
11 syntax clear
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
12 elseif exists("b:current_syntax")
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
13 finish
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
14 endif
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
15
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
16 " Set default highlighting to Win2k
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
17 if !exists("mupad_cmdextversion")
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
18 let mupad_cmdextversion = 2
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
19 endif
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
20
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
21 syn case match
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
22
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
23 syn match mupadComment "//\p*$"
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
24 syn region mupadComment start="/\*" end="\*/"
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
25
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
26 syn region mupadString start="\"" skip=/\\"/ end="\""
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
27
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
28 syn match mupadOperator "(\|)\|:=\|::\|:\|;"
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
29 " boolean
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
30 syn keyword mupadOperator and or not xor
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
31 syn match mupadOperator "==>\|\<=\>"
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
32
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
33 " Informational
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
34 syn keyword mupadSpecial FILEPATH NOTEBOOKFILE NOTEBOOKPATH
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
35 " Set-able, e.g., DIGITS:=10
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
36 syn keyword mupadSpecial DIGITS HISTORY LEVEL
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
37 syn keyword mupadSpecial MAXLEVEL MAXDEPTH ORDER
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
38 syn keyword mupadSpecial TEXTWIDTH
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
39 " Set-able, e.g., PRETTYPRINT:=TRUE
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
40 syn keyword mupadSpecial PRETTYPRINT
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
41 " Set-able, e.g., LIBPATH:="C:\\MuPAD Pro\\mylibdir" or LIBPATH:="/usr/MuPAD Pro/mylibdir"
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
42 syn keyword mupadSpecial LIBPATH PACKAGEPATH
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
43 syn keyword mupadSpecial READPATH TESTPATH WRITEPATH
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
44 " Symbols and Constants
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
45 syn keyword mupadDefine FAIL NIL
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
46 syn keyword mupadDefine TRUE FALSE UNKNOWN
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
47 syn keyword mupadDefine complexInfinity infinity
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
48 syn keyword mupadDefine C_ CATALAN E EULER I PI Q_ R_
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
49 syn keyword mupadDefine RD_INF RD_NINF undefined unit universe Z_
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
50 " print() directives
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
51 syn keyword mupadDefine Unquoted NoNL KeepOrder Typeset
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
52 " domain specifics
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
53 syn keyword mupadStatement domain begin end_domain end
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
54 syn keyword mupadIdentifier inherits category axiom info doc interface
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
55 " basic programming statements
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
56 syn keyword mupadStatement proc begin end_proc
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
57 syn keyword mupadUnderlined name local option save
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
58 syn keyword mupadConditional if then elif else end_if
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
59 syn keyword mupadConditional case of do break end_case
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
60 syn keyword mupadRepeat for do next break end_for
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
61 syn keyword mupadRepeat while do next break end_while
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
62 syn keyword mupadRepeat repeat next break until end_repeat
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
63 " domain packages/libraries
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
64 syn keyword mupadType detools import linalg numeric numlib plot polylib
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
65 syn match mupadType '\<DOM_\w*\>'
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
66
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
67 "syn keyword mupadFunction contains
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
68 " Functions dealing with prime numbers
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
69 syn keyword mupadFunction phi invphi mersenne nextprime numprimedivisors
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
70 syn keyword mupadFunction pollard prevprime primedivisors
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
71 " Functions operating on Lists, Matrices, Sets, ...
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
72 syn keyword mupadFunction array _index
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
73 " Evaluation
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
74 syn keyword mupadFunction float contains
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
75 " stdlib
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
76 syn keyword mupadFunction _exprseq _invert _lazy_and _lazy_or _negate
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
77 syn keyword mupadFunction _stmtseq _invert intersect minus union
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
78 syn keyword mupadFunction Ci D Ei O Re Im RootOf Si
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
79 syn keyword mupadFunction Simplify
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
80 syn keyword mupadFunction abs airyAi airyBi alias unalias anames append
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
81 syn keyword mupadFunction arcsin arccos arctan arccsc arcsec arccot
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
82 syn keyword mupadFunction arcsinh arccosh arctanh arccsch arcsech arccoth
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
83 syn keyword mupadFunction arg args array assert assign assignElements
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
84 syn keyword mupadFunction assume assuming asympt bernoulli
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
85 syn keyword mupadFunction besselI besselJ besselK besselY beta binomial bool
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
86 syn keyword mupadFunction bytes card
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
87 syn keyword mupadFunction ceil floor round trunc
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
88 syn keyword mupadFunction coeff coerce collect combine copyClosure
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
89 syn keyword mupadFunction conjugate content context contfrac
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
90 syn keyword mupadFunction debug degree degreevec delete _delete denom
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
91 syn keyword mupadFunction densematrix diff dilog dirac discont div _div
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
92 syn keyword mupadFunction divide domtype doprint erf erfc error eval evalassign
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
93 syn keyword mupadFunction evalp exp expand export unexport expose expr
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
94 syn keyword mupadFunction expr2text external extnops extop extsubsop
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
95 syn keyword mupadFunction fact fact2 factor fclose finput fname fopen fprint
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
96 syn keyword mupadFunction fread ftextinput readbitmap readdata pathname
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
97 syn keyword mupadFunction protocol read readbytes write writebytes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
98 syn keyword mupadFunction float frac frame _frame frandom freeze unfreeze
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
99 syn keyword mupadFunction funcenv gamma gcd gcdex genident genpoly
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
100 syn keyword mupadFunction getpid getprop ground has hastype heaviside help
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
101 syn keyword mupadFunction history hold hull hypergeom icontent id
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
102 syn keyword mupadFunction ifactor igamma igcd igcdex ilcm in _in
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
103 syn keyword mupadFunction indets indexval info input int int2text
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
104 syn keyword mupadFunction interpolate interval irreducible is
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
105 syn keyword mupadFunction isprime isqrt iszero ithprime kummerU lambertW
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
106 syn keyword mupadFunction last lasterror lcm lcoeff ldegree length
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
107 syn keyword mupadFunction level lhs rhs limit linsolve lllint
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
108 syn keyword mupadFunction lmonomial ln loadmod loadproc log lterm
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
109 syn keyword mupadFunction match map mapcoeffs maprat matrix max min
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
110 syn keyword mupadFunction mod modp mods monomials multcoeffs new
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
111 syn keyword mupadFunction newDomain _next nextprime nops
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
112 syn keyword mupadFunction norm normal nterms nthcoeff nthmonomial nthterm
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
113 syn keyword mupadFunction null numer ode op operator package
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
114 syn keyword mupadFunction pade partfrac patchlevel pdivide
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
115 syn keyword mupadFunction piecewise plot plotfunc2d plotfunc3d
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
116 syn keyword mupadFunction poly poly2list polylog powermod print
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
117 syn keyword mupadFunction product protect psi quit _quit radsimp random rationalize
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
118 syn keyword mupadFunction rec rectform register reset return revert
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
119 syn keyword mupadFunction rewrite select series setuserinfo share sign signIm
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
120 syn keyword mupadFunction simplify
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
121 syn keyword mupadFunction sin cos tan csc sec cot
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
122 syn keyword mupadFunction sinh cosh tanh csch sech coth
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
123 syn keyword mupadFunction slot solve
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
124 syn keyword mupadFunction pdesolve matlinsolve matlinsolveLU toeplitzSolve
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
125 syn keyword mupadFunction vandermondeSolve fsolve odesolve odesolve2
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
126 syn keyword mupadFunction polyroots polysysroots odesolveGeometric
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
127 syn keyword mupadFunction realroot realroots mroots lincongruence
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
128 syn keyword mupadFunction msqrts
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
129 syn keyword mupadFunction sort split sqrt strmatch strprint
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
130 syn keyword mupadFunction subs subset subsex subsop substring sum
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
131 syn keyword mupadFunction surd sysname sysorder system table taylor tbl2text
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
132 syn keyword mupadFunction tcoeff testargs testeq testtype text2expr
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
133 syn keyword mupadFunction text2int text2list text2tbl rtime time
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
134 syn keyword mupadFunction traperror type unassume unit universe
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
135 syn keyword mupadFunction unloadmod unprotect userinfo val version
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
136 syn keyword mupadFunction warning whittakerM whittakerW zeta zip
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
137
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
138 " graphics plot::
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
139 syn keyword mupadFunction getDefault setDefault copy modify Arc2d Arrow2d
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
140 syn keyword mupadFunction Arrow3d Bars2d Bars3d Box Boxplot Circle2d Circle3d
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
141 syn keyword mupadFunction Cone Conformal Curve2d Curve3d Cylinder Cylindrical
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
142 syn keyword mupadFunction Density Ellipse2d Function2d Function3d Hatch
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
143 syn keyword mupadFunction Histogram2d HOrbital Implicit2d Implicit3d
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
144 syn keyword mupadFunction Inequality Iteration Line2d Line3d Lsys Matrixplot
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
145 syn keyword mupadFunction MuPADCube Ode2d Ode3d Parallelogram2d Parallelogram3d
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
146 syn keyword mupadFunction Piechart2d Piechart3d Point2d Point3d Polar
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
147 syn keyword mupadFunction Polygon2d Polygon3d Raster Rectangle Sphere
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
148 syn keyword mupadFunction Ellipsoid Spherical Sum Surface SurfaceSet
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
149 syn keyword mupadFunction SurfaceSTL Tetrahedron Hexahedron Octahedron
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
150 syn keyword mupadFunction Dodecahedron Icosahedron Text2d Text3d Tube Turtle
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
151 syn keyword mupadFunction VectorField2d XRotate ZRotate Canvas CoordinateSystem2d
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
152 syn keyword mupadFunction CoordinateSystem3d Group2d Group3d Scene2d Scene3d ClippingBox
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
153 syn keyword mupadFunction Rotate2d Rotate3d Scale2d Scale3d Transform2d
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
154 syn keyword mupadFunction Transform3d Translate2d Translate3d AmbientLight
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
155 syn keyword mupadFunction Camera DistantLight PointLight SpotLight
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
156
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
157 " graphics Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
158 " graphics Output Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
159 syn keyword mupadIdentifier OutputFile OutputOptions
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
160 " graphics Defining Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
161 syn keyword mupadIdentifier Angle AngleRange AngleBegin AngleEnd
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
162 syn keyword mupadIdentifier Area Axis AxisX AxisY AxisZ Base Top
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
163 syn keyword mupadIdentifier BaseX TopX BaseY TopY BaseZ TopZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
164 syn keyword mupadIdentifier BaseRadius TopRadius Cells
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
165 syn keyword mupadIdentifier Center CenterX CenterY CenterZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
166 syn keyword mupadIdentifier Closed ColorData CommandList Contours CoordinateType
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
167 syn keyword mupadIdentifier Data DensityData DensityFunction From To
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
168 syn keyword mupadIdentifier FromX ToX FromY ToY FromZ ToZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
169 syn keyword mupadIdentifier Function FunctionX FunctionY FunctionZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
170 syn keyword mupadIdentifier Function1 Function2 Baseline
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
171 syn keyword mupadIdentifier Generations RotationAngle IterationRules StartRule StepLength
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
172 syn keyword mupadIdentifier TurtleRules Ground Heights Moves Inequalities
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
173 syn keyword mupadIdentifier InputFile Iterations StartingPoint
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
174 syn keyword mupadIdentifier LineColorFunction FillColorFunction
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
175 syn keyword mupadIdentifier Matrix2d Matrix3d
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
176 syn keyword mupadIdentifier MeshList MeshListType MeshListNormals
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
177 syn keyword mupadIdentifier MagneticQuantumNumber MomentumQuantumNumber PrincipalQuantumNumber
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
178 syn keyword mupadIdentifier Name Normal NormalX NormalY NormalZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
179 syn keyword mupadIdentifier ParameterName ParameterBegin ParameterEnd ParameterRange
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
180 syn keyword mupadIdentifier Points2d Points3d Radius RadiusFunction
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
181 syn keyword mupadIdentifier Position PositionX PositionY PositionZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
182 syn keyword mupadIdentifier Scale ScaleX ScaleY ScaleZ Shift ShiftX ShiftY ShiftZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
183 syn keyword mupadIdentifier SemiAxes SemiAxisX SemiAxisY SemiAxisZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
184 syn keyword mupadIdentifier Tangent1 Tangent1X Tangent1Y Tangent1Z
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
185 syn keyword mupadIdentifier Tangent2 Tangent2X Tangent2Y Tangent2Z
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
186 syn keyword mupadIdentifier Text TextOrientation TextRotation
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
187 syn keyword mupadIdentifier UName URange UMin UMax VName VRange VMin VMax
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
188 syn keyword mupadIdentifier XName XRange XMin XMax YName YRange YMin YMax
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
189 syn keyword mupadIdentifier ZName ZRange ZMin ZMax ViewingBox
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
190 syn keyword mupadIdentifier ViewingBoxXMin ViewingBoxXMax ViewingBoxXRange
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
191 syn keyword mupadIdentifier ViewingBoxYMin ViewingBoxYMax ViewingBoxYRange
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
192 syn keyword mupadIdentifier ViewingBoxZMin ViewingBoxZMax ViewingBoxZRange
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
193 syn keyword mupadIdentifier Visible
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
194 " graphics Axis Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
195 syn keyword mupadIdentifier Axes AxesInFront AxesLineColor AxesLineWidth
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
196 syn keyword mupadIdentifier AxesOrigin AxesOriginX AxesOriginY AxesOriginZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
197 syn keyword mupadIdentifier AxesTips AxesTitleAlignment
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
198 syn keyword mupadIdentifier AxesTitleAlignmentX AxesTitleAlignmentY AxesTitleAlignmentZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
199 syn keyword mupadIdentifier AxesTitles XAxisTitle YAxisTitle ZAxisTitle
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
200 syn keyword mupadIdentifier AxesVisible XAxisVisible YAxisVisible ZAxisVisible
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
201 syn keyword mupadIdentifier YAxisTitleOrientation
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
202 " graphics Tick Marks Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
203 syn keyword mupadIdentifier TicksAnchor XTicksAnchor YTicksAnchor ZTicksAnchor
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
204 syn keyword mupadIdentifier TicksAt XTicksAt YTicksAt ZTicksAt
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
205 syn keyword mupadIdentifier TicksBetween XTicksBetween YTicksBetween ZTicksBetween
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
206 syn keyword mupadIdentifier TicksDistance XTicksDistance YTicksDistance ZTicksDistance
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
207 syn keyword mupadIdentifier TicksNumber XTicksNumber YTicksNumber ZTicksNumber
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
208 syn keyword mupadIdentifier TicksVisible XTicksVisible YTicksVisible ZTicksVisible
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
209 syn keyword mupadIdentifier TicksLength TicksLabelStyle
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
210 syn keyword mupadIdentifier XTicksLabelStyle YTicksLabelStyle ZTicksLabelStyle
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
211 syn keyword mupadIdentifier TicksLabelsVisible
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
212 syn keyword mupadIdentifier XTicksLabelsVisible YTicksLabelsVisible ZTicksLabelsVisible
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
213 " graphics Grid Lines Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
214 syn keyword mupadIdentifier GridInFront GridLineColor SubgridLineColor
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
215 syn keyword mupadIdentifier GridLineStyle SubgridLineStyle GridLineWidth SubgridLineWidth
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
216 syn keyword mupadIdentifier GridVisible XGridVisible YGridVisible ZGridVisible
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
217 syn keyword mupadIdentifier SubgridVisible XSubgridVisible YSubgridVisible ZSubgridVisible
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
218 " graphics Animation Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
219 syn keyword mupadIdentifier Frames TimeRange TimeBegin TimeEnd
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
220 syn keyword mupadIdentifier VisibleAfter VisibleBefore VisibleFromTo
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
221 syn keyword mupadIdentifier VisibleAfterEnd VisibleBeforeBegin
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
222 " graphics Annotation Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
223 syn keyword mupadIdentifier Footer Header FooterAlignment HeaderAlignment
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
224 syn keyword mupadIdentifier HorizontalAlignment TitleAlignment VerticalAlignment
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
225 syn keyword mupadIdentifier Legend LegendEntry LegendText
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
226 syn keyword mupadIdentifier LegendAlignment LegendPlacement LegendVisible
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
227 syn keyword mupadIdentifier Title Titles
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
228 syn keyword mupadIdentifier TitlePosition TitlePositionX TitlePositionY TitlePositionZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
229 " graphics Layout Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
230 syn keyword mupadIdentifier Bottom Left Height Width Layout Rows Columns
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
231 syn keyword mupadIdentifier Margin BottomMargin TopMargin LeftMargin RightMargin
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
232 syn keyword mupadIdentifier OutputUnits Spacing
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
233 " graphics Calculation Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
234 syn keyword mupadIdentifier AdaptiveMesh DiscontinuitySearch Mesh SubMesh
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
235 syn keyword mupadIdentifier UMesh USubMesh VMesh VSubMesh
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
236 syn keyword mupadIdentifier XMesh XSubMesh YMesh YSubMesh Zmesh
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
237 " graphics Camera and Lights Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
238 syn keyword mupadIdentifier CameraCoordinates CameraDirection
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
239 syn keyword mupadIdentifier CameraDirectionX CameraDirectionY CameraDirectionZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
240 syn keyword mupadIdentifier FocalPoint FocalPointX FocalPointY FocalPointZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
241 syn keyword mupadIdentifier LightColor Lighting LightIntensity OrthogonalProjection
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
242 syn keyword mupadIdentifier SpotAngle ViewingAngle
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
243 syn keyword mupadIdentifier Target TargetX TargetY TargetZ
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
244 " graphics Presentation Style and Fonts Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
245 syn keyword mupadIdentifier ArrowLength
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
246 syn keyword mupadIdentifier AxesTitleFont FooterFont HeaderFont LegendFont
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
247 syn keyword mupadIdentifier TextFont TicksLabelFont TitleFont
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
248 syn keyword mupadIdentifier BackgroundColor BackgroundColor2 BackgroundStyle
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
249 syn keyword mupadIdentifier BackgroundTransparent Billboarding BorderColor BorderWidth
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
250 syn keyword mupadIdentifier BoxCenters BoxWidths DrawMode Gap XGap YGap
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
251 syn keyword mupadIdentifier Notched NotchWidth Scaling YXRatio ZXRatio
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
252 syn keyword mupadIdentifier VerticalAsymptotesVisible VerticalAsymptotesStyle
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
253 syn keyword mupadIdentifier VerticalAsymptotesColor VerticalAsymptotesWidth
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
254 " graphics Line Style Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
255 syn keyword mupadIdentifier LineColor LineColor2 LineColorType LineStyle
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
256 syn keyword mupadIdentifier LinesVisible ULinesVisible VLinesVisible XLinesVisible
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
257 syn keyword mupadIdentifier YLinesVisible LineWidth MeshVisible
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
258 " graphics Point Style Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
259 syn keyword mupadIdentifier PointColor PointSize PointStyle PointsVisible
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
260 " graphics Surface Style Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
261 syn keyword mupadIdentifier BarStyle Shadows Color Colors FillColor FillColor2
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
262 syn keyword mupadIdentifier FillColorTrue FillColorFalse FillColorUnknown FillColorType
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
263 syn keyword mupadIdentifier Filled FillPattern FillPatterns FillStyle
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
264 syn keyword mupadIdentifier InterpolationStyle Shading UseNormals
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
265 " graphics Arrow Style Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
266 syn keyword mupadIdentifier TipAngle TipLength TipStyle TubeDiameter
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
267 syn keyword mupadIdentifier Tubular
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
268 " graphics meta-documentation Attributes
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
269 syn keyword mupadIdentifier objectGroupsListed
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
270
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
271 if version >= 508 || !exists("did_mupad_syntax_inits")
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
272 if version < 508
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
273 let did_mupad_syntax_inits = 1
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
274 command -nargs=+ HiLink hi link <args>
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
275 else
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
276 command -nargs=+ HiLink hi def link <args>
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
277 endif
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
278
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
279 HiLink mupadComment Comment
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
280 HiLink mupadString String
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
281 HiLink mupadOperator Operator
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
282 HiLink mupadSpecial Special
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
283 HiLink mupadStatement Statement
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
284 HiLink mupadUnderlined Underlined
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
285 HiLink mupadConditional Conditional
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
286 HiLink mupadRepeat Repeat
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
287 HiLink mupadFunction Function
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
288 HiLink mupadType Type
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
289 HiLink mupadDefine Define
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
290 HiLink mupadIdentifier Identifier
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
291
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
292 delcommand HiLink
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
293 endif
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
294
289b19a6f2ed updated for version 7.0103
vimboss
parents: 12
diff changeset
295 " TODO More comprehensive listing.