annotate runtime/syntax/xmath.vim @ 27689:162c1a47e616

Added tag v8.2.4370 for changeset 48dee8a7b1d2f5695eb490be6e3af2d76cfef4b1
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Feb 2022 14:15:06 +0100
parents 8edf0aeb71b9
children 02bd0fe77c68
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: xmath (a simulation tool)
19180
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
3 " Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
4 " Last Change: Aug 31, 2016
19180
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
5 " Version: 10
6479
b3bc99b909c3 Updated syntax files.
Bram Moolenaar <bram@vim.org>
parents: 1120
diff changeset
6 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_XMATH
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
8 " For version 5.x: Clear all syntax items
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
9 " For version 6.x: Quit when a syntax file was already loaded
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 6479
diff changeset
10 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " parenthesis sanity checker
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn region xmathZone matchgroup=Delimiter start="(" matchgroup=Delimiter end=")" transparent contains=ALLBUT,xmathError,xmathBraceError,xmathCurlyError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn region xmathZone matchgroup=Delimiter start="{" matchgroup=Delimiter end="}" transparent contains=ALLBUT,xmathError,xmathBraceError,xmathParenError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn region xmathZone matchgroup=Delimiter start="\[" matchgroup=Delimiter end="]" transparent contains=ALLBUT,xmathError,xmathCurlyError,xmathParenError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn match xmathError "[)\]}]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn match xmathBraceError "[)}]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn match xmathCurlyError "[)\]]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn match xmathParenError "[\]}]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match xmathComma "[,;:]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn match xmathComma "\.\.\.$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " A bunch of useful xmath keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword xmathFuncCmd function endfunction command endcommand
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn keyword xmathStatement abort beep debug default define
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn keyword xmathStatement execute exit pause return undefine
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn keyword xmathConditional if else elseif endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword xmathRepeat while for endwhile endfor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn keyword xmathCmd anigraph deletedatastore keep renamedatastore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn keyword xmathCmd autocode deletestd linkhyper renamestd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword xmathCmd build deletesuperblock linksim renamesuperblock
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword xmathCmd comment deletetransition listusertype save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn keyword xmathCmd copydatastore deleteusertype load sbadisplay
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn keyword xmathCmd copystd detailmodel lock set
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn keyword xmathCmd copysuperblock display minmax_display setsbdefault
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn keyword xmathCmd createblock documentit modifyblock show
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn keyword xmathCmd createbubble editcatalog modifybubble showlicense
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn keyword xmathCmd createconnection erase modifystd showsbdefault
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn keyword xmathCmd creatertf expandsuperbubble modifysuperblock stop
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn keyword xmathCmd createstd for modifytransition stopcosim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn keyword xmathCmd createsuperblock go modifyusertype syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn keyword xmathCmd createsuperbubble goto new unalias
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn keyword xmathCmd createtransition hardcopy next unlock
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn keyword xmathCmd createusertype help polargraph usertype
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn keyword xmathCmd delete hyperbuild print whatis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn keyword xmathCmd deleteblock if printmodel while
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn keyword xmathCmd deletebubble ifilter quit who
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn keyword xmathCmd deleteconnection ipcwc remove xgraph
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn keyword xmathFunc abcd eye irea querystdoptions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn keyword xmathFunc abs eyepattern is querysuperblock
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn keyword xmathFunc acos feedback ISID querysuperblockopt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn keyword xmathFunc acosh fft ISID Models querytransition
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn keyword xmathFunc adconversion fftpdm kronecker querytransitionopt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn keyword xmathFunc afeedback filter length qz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn keyword xmathFunc all find limit rampinvar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn keyword xmathFunc ambiguity firparks lin random
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn keyword xmathFunc amdemod firremez lin30 randpdm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn keyword xmathFunc analytic firwind linearfm randpert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn keyword xmathFunc analyze fmdemod linfnorm randsys
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn keyword xmathFunc any forwdiff lintodb rank
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn keyword xmathFunc append fprintf list rayleigh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn keyword xmathFunc argn frac log rcepstrum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn keyword xmathFunc argv fracred log10 rcond
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn keyword xmathFunc arma freq logm rdintegrate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn keyword xmathFunc arma2ss freqcircle lognormal read
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn keyword xmathFunc armax freqcont logspace real
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn keyword xmathFunc ascii frequencyhop lowpass rectify
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn keyword xmathFunc asin fsesti lpopt redschur
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn keyword xmathFunc asinh fslqgcomp lqgcomp reflect
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn keyword xmathFunc atan fsregu lqgltr regulator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn keyword xmathFunc atan2 fwls ls residue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn keyword xmathFunc atanh gabor ls2unc riccati
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn keyword xmathFunc attach_ac100 garb ls2var riccati_eig
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn keyword xmathFunc backdiff gaussian lsjoin riccati_schur
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn keyword xmathFunc balance gcexp lu ricean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn keyword xmathFunc balmoore gcos lyapunov rifd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn keyword xmathFunc bandpass gdfileselection makecontinuous rlinfo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn keyword xmathFunc bandstop gdmessage makematrix rlocus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn keyword xmathFunc bj gdselection makepoly rms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn keyword xmathFunc blknorm genconv margin rootlocus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn keyword xmathFunc bode get markoff roots
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn keyword xmathFunc bpm get_info30 matchedpz round
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn keyword xmathFunc bpm2inn get_inn max rref
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn keyword xmathFunc bpmjoin gfdm maxlike rve_get
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn keyword xmathFunc bpmsplit gfsk mean rve_info
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn keyword xmathFunc bst gfskernel mergeseg rve_reset
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn keyword xmathFunc buttconstr gfunction min rve_update
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn keyword xmathFunc butterworth ggauss minimal samplehold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn keyword xmathFunc cancel giv mkpert schur
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn keyword xmathFunc canform giv2var mkphase sdf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn keyword xmathFunc ccepstrum givjoin mma sds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn keyword xmathFunc char gpsk mmaget sdtrsp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn keyword xmathFunc chebconstr gpulse mmaput sec
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn keyword xmathFunc chebyshev gqam mod sech
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn keyword xmathFunc check gqpsk modal siginterp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn keyword xmathFunc cholesky gramp modalstate sign
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn keyword xmathFunc chop gsawtooth modcarrier sim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn keyword xmathFunc circonv gsigmoid mreduce sim30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword xmathFunc circorr gsin mtxplt simin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword xmathFunc clock gsinc mu simin30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn keyword xmathFunc clocus gsqpsk mulhank simout
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn keyword xmathFunc clsys gsquarewave multipath simout30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword xmathFunc coherence gstep musynfit simtransform
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn keyword xmathFunc colorind GuiDialogCreate mxstr2xmstr sin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn keyword xmathFunc combinepf GuiDialogDestroy mxstring2xmstring singriccati
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn keyword xmathFunc commentof GuiFlush names sinh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn keyword xmathFunc compare GuiGetValue nichols sinm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn keyword xmathFunc complementaryerf GuiManage noisefilt size
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn keyword xmathFunc complexenvelope GuiPlot none smargin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn keyword xmathFunc complexfreqshift GuiPlotGet norm sns2sys
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn keyword xmathFunc concatseg GuiSetValue numden sort
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn keyword xmathFunc condition GuiShellCreate nyquist spectrad
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn keyword xmathFunc conj GuiShellDeiconify obscf spectrum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn keyword xmathFunc conmap GuiShellDestroy observable spline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn keyword xmathFunc connect GuiShellIconify oe sprintf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn keyword xmathFunc conpdm GuiShellLower ones sqrt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn keyword xmathFunc constellation GuiShellRaise ophank sqrtm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn keyword xmathFunc consys GuiShellRealize optimize sresidualize
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn keyword xmathFunc controllable GuiShellUnrealize optscale ss2arma
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn keyword xmathFunc convolve GuiTimer orderfilt sst
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn keyword xmathFunc correlate GuiToolCreate orderstate ssv
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn keyword xmathFunc cos GuiToolDestroy orth stable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn keyword xmathFunc cosh GuiToolExist oscmd stair
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn keyword xmathFunc cosm GuiUnmanage oscope starp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn keyword xmathFunc cot GuiWidgetExist osscale step
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn keyword xmathFunc coth h2norm padcrop stepinvar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn keyword xmathFunc covariance h2syn partialsum string
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn keyword xmathFunc csc hadamard pdm stringex
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn keyword xmathFunc csch hankelsv pdmslice substr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn keyword xmathFunc csum hessenberg pem subsys
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn keyword xmathFunc ctrcf highpass perfplots sum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn keyword xmathFunc ctrlplot hilbert period svd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn keyword xmathFunc daug hilberttransform pfscale svplot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn keyword xmathFunc dbtolin hinfcontr phaseshift sweep
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn keyword xmathFunc dct hinfnorm pinv symbolmap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn keyword xmathFunc decimate hinfsyn plot sys2sns
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn keyword xmathFunc defFreqRange histogram plot30 sysic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn keyword xmathFunc defTimeRange idfreq pmdemod Sysid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn keyword xmathFunc delay idimpulse poisson system
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn keyword xmathFunc delsubstr idsim poissonimpulse tan
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn keyword xmathFunc det ifft poleplace tanh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn keyword xmathFunc detrend imag poles taper
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn keyword xmathFunc dht impinvar polezero tfid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn keyword xmathFunc diagonal impplot poltrend toeplitz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syn keyword xmathFunc differentiate impulse polyfit trace
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn keyword xmathFunc directsequence index polynomial tril
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn keyword xmathFunc discretize indexlist polyval trim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn keyword xmathFunc divide initial polyvalm trim30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn keyword xmathFunc domain initmodel prbs triu
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syn keyword xmathFunc dst initx0 product trsp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn keyword xmathFunc eig inn2bpm psd truncate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn keyword xmathFunc ellipconstr inn2pe put_inn tustin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn keyword xmathFunc elliptic inn2unc qpopt uniform
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn keyword xmathFunc erf insertseg qr val
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn keyword xmathFunc error int quantize variance
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn keyword xmathFunc estimator integrate queryblock videolines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syn keyword xmathFunc etfe integratedump queryblockoptions wcbode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn keyword xmathFunc exist interp querybubble wcgain
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syn keyword xmathFunc exp interpolate querybubbleoptionswindow
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syn keyword xmathFunc expm inv querycatalog wtbalance
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn keyword xmathFunc extractchan invhilbert queryconnection zeros
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn keyword xmathFunc extractseg iqmix querystd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 " Labels (supports xmath's goto)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 syn match xmathLabel "^\s*<[a-zA-Z_][a-zA-Z0-9]*>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 " String and Character constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 " Highlight special characters (those which have a backslash) differently
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syn match xmathSpecial contained "\\\d\d\d\|\\."
1120
e6db096b07a1 updated for version 7.1a
vimboss
parents: 827
diff changeset
176 syn region xmathString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=xmathSpecial,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syn match xmathCharacter "'[^\\]'"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syn match xmathSpecialChar "'\\.'"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 syn match xmathNumber "-\=\<\d\+L\=\>\|0[xX][0-9a-fA-F]\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 " Comments:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 " xmath supports #... (like Unix shells)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 " and #{ ... }# comment blocks
1120
e6db096b07a1 updated for version 7.1a
vimboss
parents: 827
diff changeset
185 syn cluster xmathCommentGroup contains=xmathString,xmathTodo,@Spell
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 506
diff changeset
186 syn keyword xmathTodo contained COMBAK DEBUG FIXME Todo TODO XXX
1120
e6db096b07a1 updated for version 7.1a
vimboss
parents: 827
diff changeset
187 syn match xmathComment "#.*$" contains=@xmathCommentGroup
e6db096b07a1 updated for version 7.1a
vimboss
parents: 827
diff changeset
188 syn region xmathCommentBlock start="#{" end="}#" contains=@xmathCommentGroup
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 " synchronizing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 syn sync match xmathSyncComment grouphere xmathCommentBlock "#{"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 syn sync match xmathSyncComment groupthere NONE "}#"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 " Define the default highlighting.
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
195 if !exists("skip_xmath_syntax_inits")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
197 hi def link xmathBraceError xmathError
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
198 hi def link xmathCmd xmathStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
199 hi def link xmathCommentBlock xmathComment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
200 hi def link xmathCurlyError xmathError
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
201 hi def link xmathFuncCmd xmathStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
202 hi def link xmathParenError xmathError
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
204 " The default methods for highlighting. Can be overridden later
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
205 hi def link xmathCharacter Character
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
206 hi def link xmathComma Delimiter
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
207 hi def link xmathComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
208 hi def link xmathCommentBlock Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
209 hi def link xmathConditional Conditional
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
210 hi def link xmathError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
211 hi def link xmathFunc Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
212 hi def link xmathLabel PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
213 hi def link xmathNumber Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
214 hi def link xmathRepeat Repeat
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
215 hi def link xmathSpecial Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
216 hi def link xmathSpecialChar SpecialChar
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
217 hi def link xmathStatement Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
218 hi def link xmathString String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
219 hi def link xmathTodo Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
221 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 let b:current_syntax = "xmath"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 " vim: ts=17