comparison runtime/syntax/mp.vim @ 10244:876fbdd84e52

commit https://github.com/vim/vim/commit/2ec618c9feac4573b154510236ad8121c77d0eca Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 1 14:47:05 2016 +0200 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Sat, 01 Oct 2016 15:00:04 +0200
parents 46763b01cd9a
children 07d2b5a3b7cc
comparison
equal deleted inserted replaced
10243:fe057ff11e5f 10244:876fbdd84e52
1 " Vim syntax file 1 " Vim syntax file
2 " Language: MetaPost 2 " Language: MetaPost
3 " Maintainer: Andreas Scherer <andreas.scherer@pobox.com> 3 " Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
4 " Last Change: April 30, 2001 4 " Former Maintainers: Andreas Scherer <andreas.scherer@pobox.com>
5 5 " Last Change: 2016 Oct 01
6 " quit when a syntax file was already loaded 6
7 if exists("b:current_syntax") 7 if exists("b:current_syntax")
8 finish 8 finish
9 endif 9 endif
10 10
11 let plain_mf_macros = 0 " plain.mf has no special meaning for MetaPost 11 let s:cpo_sav = &cpo
12 let other_mf_macros = 0 " cmbase.mf, logo.mf, ... neither 12 set cpo&vim
13 13
14 " Read the Metafont syntax to start with 14 if exists("g:plain_mf_macros")
15 let s:plain_mf_macros = g:plain_mf_macros
16 endif
17 if exists("g:plain_mf_modes")
18 let s:plain_mf_modes = g:plain_mf_modes
19 endif
20 if exists("g:other_mf_macros")
21 let s:other_mf_macros = g:other_mf_macros
22 endif
23
24 let g:plain_mf_macros = 0 " plain.mf has no special meaning for MetaPost
25 let g:plain_mf_modes = 0 " No METAFONT modes
26 let g:other_mf_macros = 0 " cmbase.mf, logo.mf, ... neither
27
28 " Read the METAFONT syntax to start with
15 runtime! syntax/mf.vim 29 runtime! syntax/mf.vim
16 30 unlet b:current_syntax " Necessary for syn include below
17 " MetaPost has TeX inserts for typeset labels 31
18 " verbatimtex, btex, and etex will be treated as keywords 32 " Restore the value of existing global variables
19 syn match mpTeXbegin "\(verbatimtex\|btex\)" 33 if exists("s:plain_mf_macros")
20 syn match mpTeXend "etex" 34 let g:plain_mf_macros = s:plain_mf_macros
21 syn region mpTeXinsert start="\(verbatimtex\|btex\)"hs=e+1 end="etex"he=s-1 contains=mpTeXbegin,mpTeXend keepend 35 else
22 36 unlet g:plain_mf_macros
23 " MetaPost primitives not found in Metafont 37 endif
24 syn keyword mpInternal bluepart clip color dashed fontsize greenpart infont 38 if exists("s:plain_mf_modes")
25 syn keyword mpInternal linecap linejoin llcorner lrcorner miterlimit mpxbreak 39 let g:plain_mf_modes = s:plain_mf_modes
26 syn keyword mpInternal prologues redpart setbounds tracinglostchars 40 else
27 syn keyword mpInternal truecorners ulcorner urcorner withcolor 41 unlet g:plain_mf_modes
28 42 endif
29 " Metafont primitives not found in MetaPost 43 if exists("s:other_mf_macros")
30 syn keyword notDefined autorounding chardx chardy fillin granularity hppp 44 let g:other_mf_macros = s:other_mf_macros
31 syn keyword notDefined proofing smoothing tracingedges tracingpens 45 else
32 syn keyword notDefined turningcheck vppp xoffset yoffset 46 unlet g:other_mf_macros
47 endif
48
49 " Use TeX highlighting inside verbatimtex/btex... etex
50 syn include @MPTeX syntax/tex.vim
51 unlet b:current_syntax
52 " These are defined as keywords rather than using matchgroup
53 " in order to make them available to syntaxcomplete.
54 syn keyword mpTeXdelim btex etex verbatimtex contained
55 syn region mpTeXinsert
56 \ start=/\<verbatimtex\>\|\<btex\>/rs=e+1
57 \ end=/\<etex\>/re=s-1 keepend
58 \ contains=@MPTeX,mpTeXdelim
59
60 " iskeyword must be set after the syn include above, because tex.vim sets `syn
61 " iskeyword`. Note that keywords do not contain numbers (numbers are
62 " subscripts)
63 syntax iskeyword @,_
64
65 " MetaPost primitives not found in METAFONT
66 syn keyword mpBoolExp bounded clipped filled stroked textual arclength
67 syn keyword mpNumExp arctime blackpart bluepart colormodel cyanpart
68 syn keyword mpNumExp fontsize greenpart greypart magentapart redpart
69 syn keyword mpPairExp yellowpart llcorner lrcorner ulcorner urcorner
70 " envelope is seemingly undocumented, but it exists since mpost 1.003.
71 " The syntax is: envelope <polygonal pen> of <path primary>. For example,
72 " path p;
73 " p := envelope pensquare of (up--left);
74 " (Thanks to Daniel H. Luecking for the example!)
75 syn keyword mpPathExp envelope pathpart
76 syn keyword mpPenExp penpart
77 syn keyword mpPicExp dashpart glyph infont
78 syn keyword mpStringExp fontpart readfrom textpart
79 syn keyword mpType cmykcolor color rgbcolor
80 " Other MetaPost primitives listed in the manual
81 syn keyword mpPrimitive mpxbreak within
82 " Internal quantities not found in METAFONT
83 " (Table 6 in MetaPost: A User's Manual)
84 syn keyword mpInternal defaultcolormodel hour minute linecap linejoin
85 syn keyword mpInternal miterlimit mpprocset mpversion numberprecision
86 syn keyword mpInternal numbersystem outputfilename outputformat
87 syn keyword mpInternal outputformatoptions outputtemplate prologues
88 syn keyword mpInternal restoreclipcolor tracinglostchars troffmode
89 syn keyword mpInternal truecorners
90 " List of commands not found in METAFONT (from MetaPost: A User's Manual)
91 syn keyword mpCommand clip closefrom dashed filenametemplate fontmapfile
92 syn keyword mpCommand fontmapline setbounds withcmykcolor withcolor
93 syn keyword mpCommand withgreyscale withoutcolor withpostscript
94 syn keyword mpCommand withprescript withrgbcolor write
95 " METAFONT internal variables not found in MetaPost
96 syn keyword notDefined autorounding chardx chardy fillin granularity
97 syn keyword notDefined proofing smoothing tracingedges tracingpens
98 syn keyword notDefined turningcheck xoffset yoffset
99 " Suffix defined only in METAFONT:
100 syn keyword notDefined nodot
101 " Other not implemented primitives (see MetaPost: A User's Manual, §C.1)
102 syn keyword notDefined cull display openwindow numspecial totalweight
103 syn keyword notDefined withweight
33 104
34 " Keywords defined by plain.mp 105 " Keywords defined by plain.mp
35 if !exists("plain_mp_macros") 106 if get(g:, "plain_mp_macros", 1) || get(g:, "mp_metafun_macros", 0)
36 let plain_mp_macros = 1 " Set this to '0' if your source gets too colourful 107 syn keyword mpDef beginfig clear_pen_memory clearit clearpen clearpen
37 endif 108 syn keyword mpDef clearxy colorpart cutdraw downto draw drawarrow
38 if plain_mp_macros 109 syn keyword mpDef drawdblarrow drawdot drawoptions endfig erase
39 syn keyword mpMacro ahangle ahlength background bbox bboxmargin beginfig 110 syn keyword mpDef exitunless fill filldraw flex gobble hide interact
40 syn keyword mpMacro beveled black blue buildcycle butt center cutafter 111 syn keyword mpDef label loggingall makelabel numtok penstroke pickup
41 syn keyword mpMacro cutbefore cuttings dashpattern defaultfont defaultpen 112 syn keyword mpDef range reflectedabout rotatedaround shipit
42 syn keyword mpMacro defaultscale dotlabel dotlabels drawarrow drawdblarrow 113 syn keyword mpDef stop superellipse takepower tracingall tracingnone
43 syn keyword mpMacro drawoptions endfig evenly extra_beginfig extra_endfig 114 syn keyword mpDef undraw undrawdot unfill unfilldraw upto
44 syn keyword mpMacro green label labeloffset mitered red rounded squared 115 syn match mpDef "???"
45 syn keyword mpMacro thelabel white base_name base_version 116 syn keyword mpVardef arrowhead bbox bot buildcycle byte ceiling center
46 syn keyword mpMacro upto downto exitunless relax gobble gobbled 117 syn keyword mpVardef counterclockwise decr dir direction directionpoint
47 syn keyword mpMacro interact loggingall tracingall tracingnone 118 syn keyword mpVardef dotlabel dotlabels image incr interpath inverse
48 syn keyword mpMacro eps epsilon infinity right left up down origin 119 syn keyword mpVardef labels lft magstep max min penlabels penpos round
49 syn keyword mpMacro quartercircle halfcircle fullcircle unitsquare identity 120 syn keyword mpVardef rt savepen solve tensepath thelabel top unitvector
50 syn keyword mpMacro blankpicture withdots ditto EOF pensquare penrazor 121 syn keyword mpVardef whatever z
51 syn keyword mpMacro penspeck whatever abs round ceiling byte dir unitvector 122 syn keyword mpPrimaryDef div dotprod gobbled mod
52 syn keyword mpMacro inverse counterclockwise tensepath mod div dotprod 123 syn keyword mpSecondaryDef intersectionpoint
53 syn keyword mpMacro takepower direction directionpoint intersectionpoint 124 syn keyword mpTertiaryDef cutafter cutbefore softjoin thru
54 syn keyword mpMacro softjoin incr decr reflectedabout rotatedaround 125 syn keyword mpNewInternal ahangle ahlength bboxmargin beveled butt defaultpen
55 syn keyword mpMacro rotatedabout min max flex superellipse interpath 126 syn keyword mpNewInternal defaultscale dotlabeldiam eps epsilon infinity
56 syn keyword mpMacro magstep currentpen currentpen_path currentpicture 127 syn keyword mpNewInternal join_radius labeloffset mitered pen_bot pen_lft
57 syn keyword mpMacro fill draw filldraw drawdot unfill undraw unfilldraw 128 syn keyword mpNewInternal pen_rt pen_top rounded squared tolerance
58 syn keyword mpMacro undrawdot erase cutdraw image pickup numeric_pickup 129 " Predefined constants
59 syn keyword mpMacro pen_lft pen_rt pen_top pen_bot savepen clearpen 130 syn keyword mpConstant EOF background base_name base_version black
60 syn keyword mpMacro clear_pen_memory lft rt top bot ulft urt llft lrt 131 syn keyword mpConstant blankpicture blue ditto down evenly fullcircle
61 syn keyword mpMacro penpos penstroke arrowhead makelabel labels penlabel 132 syn keyword mpConstant green halfcircle identity left origin penrazor
62 syn keyword mpMacro range numtok thru clearxy clearit clearpen pickup 133 syn keyword mpConstant penspeck pensquare quartercircle red right
63 syn keyword mpMacro shipit bye hide stop solve 134 syn keyword mpConstant unitsquare up white withdots
135 " Other predefined variables
136 syn keyword mpVariable currentpen currentpen_path currentpicture cuttings
137 syn keyword mpVariable defaultfont extra_beginfig extra_endfig
138 syn match mpVariable /\<\%(laboff\|labxf\|labyf\)\>/
139 syn match mpVariable /\<\%(laboff\|labxf\|labyf\)\.\%(lft\|rt\|bot\|top\|ulft\|urt\|llft\|lrt\)\>/
140 " let statements:
141 syn keyword mpnumExp abs
142 syn keyword mpDef rotatedabout
143 syn keyword mpCommand bye relax
144 " on and off are not technically keywords, but it is nice to highlight them
145 " inside dashpattern().
146 syn keyword mpOnOff off on contained
147 syn keyword mpDash dashpattern contained
148 syn region mpDashPattern
149 \ start="dashpattern\s*"
150 \ end=")"he=e-1
151 \ contains=mfNumeric,mfLength,mpOnOff,mpDash
64 endif 152 endif
65 153
66 " Keywords defined by mfplain.mp 154 " Keywords defined by mfplain.mp
67 if !exists("mfplain_mp_macros") 155 if get(g:, "mfplain_mp_macros", 0)
68 let mfplain_mp_macros = 0 " Set this to '1' to include these macro names 156 syn keyword mpDef beginchar capsule_def change_width
69 endif 157 syn keyword mpDef define_blacker_pixels define_corrected_pixels
70 if mfplain_mp_macros 158 syn keyword mpDef define_good_x_pixels define_good_y_pixels
71 syn keyword mpMacro beginchar blacker capsule_def change_width 159 syn keyword mpDef define_horizontal_corrected_pixels define_pixels
72 syn keyword mpMacro define_blacker_pixels define_corrected_pixels 160 syn keyword mpDef define_whole_blacker_pixels define_whole_pixels
73 syn keyword mpMacro define_good_x_pixels define_good_y_pixels 161 syn keyword mpDef define_whole_vertical_blacker_pixels
74 syn keyword mpMacro define_horizontal_corrected_pixels 162 syn keyword mpDef define_whole_vertical_pixels endchar
75 syn keyword mpMacro define_pixels define_whole_blacker_pixels 163 syn keyword mpDef font_coding_scheme font_extra_space font_identifier
76 syn keyword mpMacro define_whole_vertical_blacker_pixels 164 syn keyword mpDef font_normal_shrink font_normal_space
77 syn keyword mpMacro define_whole_vertical_pixels endchar 165 syn keyword mpDef font_normal_stretch font_quad font_size font_slant
78 syn keyword mpMacro extra_beginchar extra_endchar extra_setup 166 syn keyword mpDef font_x_height italcorr labelfont lowres_fix makebox
79 syn keyword mpMacro font_coding_scheme font_extra_space font_identifier 167 syn keyword mpDef makegrid maketicks mode_def mode_setup proofrule
80 syn keyword mpMacro font_normal_shrink font_normal_space 168 syn keyword mpDef smode
81 syn keyword mpMacro font_normal_stretch font_quad font_size 169 syn keyword mpVardef hround proofrulethickness vround
82 syn keyword mpMacro font_slant font_x_height italcorr labelfont 170 syn keyword mpNewInternal blacker o_correction
83 syn keyword mpMacro makebox makegrid maketicks mode_def mode_setup 171 syn keyword mpVariable extra_beginchar extra_endchar extra_setup rulepen
84 syn keyword mpMacro o_correction proofrule proofrulethickness rulepen smode
85
86 " plus some no-ops, also from mfplain.mp 172 " plus some no-ops, also from mfplain.mp
87 syn keyword mpMacro cullit currenttransform gfcorners grayfont hround 173 syn keyword mpDef cull cullit gfcorners imagerules nodisplays
88 syn keyword mpMacro imagerules lowres_fix nodisplays notransforms openit 174 syn keyword mpDef notransforms openit proofoffset screenchars
89 syn keyword mpMacro proofoffset screenchars screenrule screenstrokes 175 syn keyword mpDef screenrule screenstrokes showit
90 syn keyword mpMacro showit slantfont titlefont unitpixel vround 176 syn keyword mpVardef grayfont slantfont titlefont
91 endif 177 syn keyword mpVariable currenttransform
92 178 syn keyword mpConstant unitpixel
93 " Keywords defined by other macro packages, e.g., boxes.mp 179 " These are not listed in the MetaPost manual, and some are ignored by
94 if !exists("other_mp_macros") 180 " MetaPost, but are nonetheless defined in mfplain.mp
95 let other_mp_macros = 1 " Set this to '0' if your source gets too colourful 181 syn keyword mpDef killtext
96 endif 182 syn match mpVardef "\<good\.\%(x\|y\|lft\|rt\|top\|bot\)\>"
97 if other_mp_macros 183 syn keyword mpVariable aspect_ratio localfont mag mode mode_name
98 syn keyword mpMacro circmargin defaultdx defaultdy 184 syn keyword mpVariable proofcolor
99 syn keyword mpMacro boxit boxjoin bpath circleit drawboxed drawboxes 185 syn keyword mpConstant lowres proof smoke
100 syn keyword mpMacro drawunboxed fixpos fixsize pic 186 syn keyword mpNewInternal autorounding bp_per_pixel granularity
101 endif 187 syn keyword mpNewInternal number_of_modes proofing smoothing turningcheck
188 endif
189
190 " Keywords defined by all base macro packages:
191 " - (r)boxes.mp
192 " - format.mp
193 " - graph.mp
194 " - marith.mp
195 " - sarith.mp
196 " - string.mp
197 " - TEX.mp
198 if get(g:, "other_mp_macros", 1)
199 " boxes and rboxes
200 syn keyword mpDef boxjoin drawboxed drawboxes drawunboxed
201 syn keyword mpNewInternal circmargin defaultdx defaultdy rbox_radius
202 syn keyword mpVardef boxit bpath circleit fixpos fixsize generic_declare
203 syn keyword mpVardef generic_redeclare generisize pic rboxit str_prefix
204 " format
205 syn keyword mpVardef Mformat format init_numbers roundd
206 syn keyword mpVariable Fe_base Fe_plus
207 syn keyword mpConstant Ten_to
208 " graph
209 syn keyword mpDef Gfor Gxyscale OUT auto begingraph endgraph gdata
210 syn keyword mpDef gdraw gdrawarrow gdrawdblarrow gfill plot
211 syn keyword mpVardef augment autogrid frame gdotlabel glabel grid itick
212 syn keyword mpVardef otick
213 syn keyword mpVardef Mreadpath setcoords setrange
214 syn keyword mpNewInternal Gmarks Gminlog Gpaths linear log
215 syn keyword mpVariable Autoform Gemarks Glmarks Gumarks
216 syn keyword mpConstant Gtemplate
217 syn match mpVariable /Gmargin\.\%(low\|high\)/
218 " marith
219 syn keyword mpVardef Mabs Meform Mexp Mexp_str Mlog Mlog_Str Mlog_str
220 syn keyword mpPrimaryDef Mdiv Mmul
221 syn keyword mpSecondaryDef Madd Msub
222 syn keyword mpTertiaryDef Mleq
223 syn keyword mpNewInternal Mten Mzero
224 " sarith
225 syn keyword mpVardef Sabs Scvnum
226 syn keyword mpPrimaryDef Sdiv Smul
227 syn keyword mpSecondaryDef Sadd Ssub
228 syn keyword mpTertiaryDef Sleq Sneq
229 " string
230 syn keyword mpVardef cspan isdigit loptok
231 " TEX
232 syn keyword mpVardef TEX TEXPOST TEXPRE
233 endif
234
235 " Up to date as of 23-Sep-2016.
236 if get(g:, "mp_metafun_macros", 0)
237 " These keywords have been added manually.
238 syn keyword mpPrimitive runscript
239
240 " The following MetaFun keywords have been extracted automatically from
241 " ConTeXt source code. They include all "public" macros (where a macro is
242 " considered public if and only if it does not start with _, mfun_, mlib_, or
243 " do_, and it does not end with _), all "public" unsaved variables, and all
244 " `let` statements.
245
246 " mp-abck.mpiv
247 syn keyword mpDef abck_grid_line anchor_box box_found boxfilloptions
248 syn keyword mpDef boxgridoptions boxlineoptions draw_multi_pars
249 syn keyword mpDef draw_multi_side draw_multi_side_path freeze_box
250 syn keyword mpDef initialize_box initialize_box_pos
251 syn keyword mpDef multi_side_draw_options show_multi_kind
252 syn keyword mpDef show_multi_pars
253 syn keyword mpVardef abck_baseline_grid abck_draw_path abck_graphic_grid
254 syn keyword mpVariable boxdashtype boxfilloffset boxfilltype
255 syn keyword mpVariable boxgriddirection boxgriddistance boxgridshift
256 syn keyword mpVariable boxgridtype boxgridwidth boxlineoffset
257 syn keyword mpVariable boxlineradius boxlinetype boxlinewidth multikind
258 syn keyword mpConstant context_abck
259 " mp-apos.mpiv
260 syn keyword mpDef anch_sidebars_draw boxfilloptions boxlineoptions
261 syn keyword mpDef connect_positions
262 syn keyword mpConstant context_apos
263 " mp-asnc.mpiv
264 syn keyword mpDef FlushSyncTasks ProcessSyncTask ResetSyncTasks
265 syn keyword mpDef SetSyncColor SetSyncThreshold SyncTask
266 syn keyword mpVardef PrepareSyncTasks SyncBox TheSyncColor
267 syn keyword mpVardef TheSyncThreshold
268 syn keyword mpVariable CurrentSyncClass NOfSyncPaths SyncColor
269 syn keyword mpVariable SyncLeftOffset SyncPaths SyncTasks SyncThreshold
270 syn keyword mpVariable SyncThresholdMethod SyncWidth
271 syn keyword mpConstant context_asnc
272 " mp-back.mpiv
273 syn keyword mpDef some_double_back some_hash
274 syn keyword mpVariable back_nillcolor
275 syn keyword mpConstant context_back
276 " mp-bare.mpiv
277 syn keyword mpVardef colordecimals rawtextext
278 syn keyword mpPrimaryDef infont
279 syn keyword mpConstant context_bare
280 " mp-base.mpiv
281 " This is essentially plain.mp with only a few keywords added
282 syn keyword mpNumExp graypart
283 syn keyword mpType graycolor greycolor
284 syn keyword mpConstant cyan magenta yellow
285 " mp-butt.mpiv
286 syn keyword mpDef predefinedbutton some_button
287 syn keyword mpConstant context_butt
288 " mp-char.mpiv
289 syn keyword mpDef flow_begin_chart flow_begin_sub_chart
290 syn keyword mpDef flow_chart_draw_comment flow_chart_draw_exit
291 syn keyword mpDef flow_chart_draw_label flow_chart_draw_text
292 syn keyword mpDef flow_clip_chart flow_collapse_points
293 syn keyword mpDef flow_connect_bottom_bottom flow_connect_bottom_left
294 syn keyword mpDef flow_connect_bottom_right flow_connect_bottom_top
295 syn keyword mpDef flow_connect_left_bottom flow_connect_left_left
296 syn keyword mpDef flow_connect_left_right flow_connect_left_top
297 syn keyword mpDef flow_connect_right_bottom flow_connect_right_left
298 syn keyword mpDef flow_connect_right_right flow_connect_right_top
299 syn keyword mpDef flow_connect_top_bottom flow_connect_top_left
300 syn keyword mpDef flow_connect_top_right flow_connect_top_top
301 syn keyword mpDef flow_draw_connection flow_draw_connection_point
302 syn keyword mpDef flow_draw_midpoint flow_draw_shape
303 syn keyword mpDef flow_draw_test_area flow_draw_test_shape
304 syn keyword mpDef flow_draw_test_shapes flow_end_chart
305 syn keyword mpDef flow_end_sub_chart flow_flush_connections
306 syn keyword mpDef flow_flush_picture flow_flush_pictures
307 syn keyword mpDef flow_flush_shape flow_flush_shapes
308 syn keyword mpDef flow_initialize_grid flow_new_chart flow_new_shape
309 syn keyword mpDef flow_scaled_to_grid flow_show_connection
310 syn keyword mpDef flow_show_connections flow_show_shapes
311 syn keyword mpDef flow_xy_offset flow_y_pos
312 syn keyword mpVardef flow_connection_path flow_down_on_grid
313 syn keyword mpVardef flow_down_to_grid flow_i_point flow_left_on_grid
314 syn keyword mpVardef flow_left_to_grid flow_offset
315 syn keyword mpVardef flow_points_initialized flow_right_on_grid
316 syn keyword mpVardef flow_right_to_grid flow_smooth_connection
317 syn keyword mpVardef flow_trim_points flow_trimmed flow_up_on_grid
318 syn keyword mpVardef flow_up_to_grid flow_valid_connection
319 syn keyword mpVardef flow_x_on_grid flow_xy_bottom flow_xy_left
320 syn keyword mpVardef flow_xy_on_grid flow_xy_right flow_xy_top
321 syn keyword mpVardef flow_y_on_grid
322 syn keyword mpVariable flow_arrowtip flow_chart_background_color
323 syn keyword mpVariable flow_chart_offset flow_comment_offset
324 syn keyword mpVariable flow_connection_arrow_size
325 syn keyword mpVariable flow_connection_dash_size
326 syn keyword mpVariable flow_connection_line_color
327 syn keyword mpVariable flow_connection_line_width
328 syn keyword mpVariable flow_connection_smooth_size flow_connections
329 syn keyword mpVariable flow_cpath flow_dash_pattern flow_dashline
330 syn keyword mpVariable flow_exit_offset flow_forcevalid flow_grid_height
331 syn keyword mpVariable flow_grid_width flow_label_offset flow_max_x
332 syn keyword mpVariable flow_max_y flow_peepshape flow_reverse_connection
333 syn keyword mpVariable flow_reverse_y flow_shape_action flow_shape_archive
334 syn keyword mpVariable flow_shape_decision flow_shape_down
335 syn keyword mpVariable flow_shape_fill_color flow_shape_height
336 syn keyword mpVariable flow_shape_left flow_shape_line_color
337 syn keyword mpVariable flow_shape_line_width flow_shape_loop
338 syn keyword mpVariable flow_shape_multidocument flow_shape_node
339 syn keyword mpVariable flow_shape_procedure flow_shape_product
340 syn keyword mpVariable flow_shape_right flow_shape_singledocument
341 syn keyword mpVariable flow_shape_subprocedure flow_shape_up
342 syn keyword mpVariable flow_shape_wait flow_shape_width
343 syn keyword mpVariable flow_show_all_points flow_show_con_points
344 syn keyword mpVariable flow_show_mid_points flow_showcrossing flow_smooth
345 syn keyword mpVariable flow_touchshape flow_xypoint flow_zfactor
346 syn keyword mpConstant context_flow
347 " mp-chem.mpiv
348 syn keyword mpDef chem_init_all chem_reset chem_start_structure
349 syn keyword mpDef chem_transformed
350 syn keyword mpVardef chem_ad chem_adj chem_align chem_arrow chem_au
351 syn keyword mpVardef chem_b chem_bb chem_bd chem_bw chem_c chem_cc
352 syn keyword mpVardef chem_ccd chem_cd chem_crz chem_cz chem_dash chem_db
353 syn keyword mpVardef chem_diff chem_dir chem_do chem_dr chem_draw
354 syn keyword mpVardef chem_drawarrow chem_eb chem_ed chem_ep chem_er
355 syn keyword mpVardef chem_es chem_et chem_fill chem_hb chem_init_some
356 syn keyword mpVardef chem_label chem_ldb chem_ldd chem_line chem_lr
357 syn keyword mpVardef chem_lrb chem_lrbd chem_lrd chem_lrh chem_lrn
358 syn keyword mpVardef chem_lrt chem_lrz chem_lsr chem_lsub chem_mark
359 syn keyword mpVardef chem_marked chem_mid chem_mids chem_midz chem_mir
360 syn keyword mpVardef chem_mov chem_move chem_number chem_oe chem_off
361 syn keyword mpVardef chem_pb chem_pe chem_r chem_r_fragment chem_rb
362 syn keyword mpVardef chem_rbd chem_rd chem_rdb chem_rdd chem_restore
363 syn keyword mpVardef chem_rh chem_rm chem_rn chem_rot chem_rr chem_rrb
364 syn keyword mpVardef chem_rrbd chem_rrd chem_rrh chem_rrn chem_rrt
365 syn keyword mpVardef chem_rrz chem_rsr chem_rsub chem_rt chem_rz chem_s
366 syn keyword mpVardef chem_save chem_sb chem_sd chem_set chem_sr chem_ss
367 syn keyword mpVardef chem_start_component chem_stop_component
368 syn keyword mpVardef chem_stop_structure chem_sub chem_symbol chem_tb
369 syn keyword mpVardef chem_text chem_z chem_zln chem_zlt chem_zn chem_zrn
370 syn keyword mpVardef chem_zrt chem_zt
371 syn keyword mpVariable chem_mark_pair chem_stack_mirror chem_stack_origin
372 syn keyword mpVariable chem_stack_p chem_stack_previous
373 syn keyword mpVariable chem_stack_rotation chem_trace_boundingbox
374 syn keyword mpVariable chem_trace_nesting chem_trace_text
375 syn keyword mpConstant context_chem
376 " mp-core.mpiv
377 syn keyword mpDef FlushSyncTasks ProcessSyncTask
378 syn keyword mpDef RegisterLocalTextArea RegisterPlainTextArea
379 syn keyword mpDef RegisterRegionTextArea RegisterTextArea
380 syn keyword mpDef ResetLocalTextArea ResetSyncTasks ResetTextAreas
381 syn keyword mpDef SaveTextAreas SetSyncColor SetSyncThreshold
382 syn keyword mpDef SyncTask anchor_box box_found boxfilloptions
383 syn keyword mpDef boxgridoptions boxlineoptions collapse_multi_pars
384 syn keyword mpDef draw_box draw_multi_pars draw_par freeze_box
385 syn keyword mpDef initialize_area initialize_area_par initialize_box
386 syn keyword mpDef initialize_box_pos initialize_par
387 syn keyword mpDef prepare_multi_pars relocate_multipars save_multipar
388 syn keyword mpDef set_par_line_height show_multi_pars show_par
389 syn keyword mpDef simplify_multi_pars sort_multi_pars
390 syn keyword mpVardef InsideSavedTextArea InsideSomeSavedTextArea
391 syn keyword mpVardef InsideSomeTextArea InsideTextArea PrepareSyncTasks
392 syn keyword mpVardef SyncBox TextAreaH TextAreaW TextAreaWH TextAreaX
393 syn keyword mpVardef TextAreaXY TextAreaY TheSyncColor TheSyncThreshold
394 syn keyword mpVardef baseline_grid graphic_grid multi_par_at_top
395 syn keyword mpVariable CurrentSyncClass NOfSavedTextAreas
396 syn keyword mpVariable NOfSavedTextColumns NOfSyncPaths NOfTextAreas
397 syn keyword mpVariable NOfTextColumns PlainTextArea RegionTextArea
398 syn keyword mpVariable SavedTextColumns SyncColor SyncLeftOffset SyncPaths
399 syn keyword mpVariable SyncTasks SyncThreshold SyncThresholdMethod
400 syn keyword mpVariable SyncWidth TextAreas TextColumns
401 syn keyword mpVariable auto_multi_par_hsize boxdashtype boxfilloffset
402 syn keyword mpVariable boxfilltype boxgriddirection boxgriddistance
403 syn keyword mpVariable boxgridshift boxgridtype boxgridwidth boxlineradius
404 syn keyword mpVariable boxlinetype boxlinewidth check_multi_par_chain
405 syn keyword mpVariable compensate_multi_par_topskip
406 syn keyword mpVariable enable_multi_par_fallback force_multi_par_chain
407 syn keyword mpVariable ignore_multi_par_page last_multi_par_shift lefthang
408 syn keyword mpVariable local_multi_par_area multi_column_first_page_hack
409 syn keyword mpVariable multi_par_pages multiloc multilocs multipar
410 syn keyword mpVariable multipars multiref multirefs nofmultipars
411 syn keyword mpVariable obey_multi_par_hang obey_multi_par_more
412 syn keyword mpVariable one_piece_multi_par par_hang_after par_hang_indent
413 syn keyword mpVariable par_indent par_left_skip par_line_height
414 syn keyword mpVariable par_right_skip par_start_pos par_stop_pos
415 syn keyword mpVariable par_strut_depth par_strut_height ppos righthang
416 syn keyword mpVariable snap_multi_par_tops somehang span_multi_column_pars
417 syn keyword mpVariable use_multi_par_region
418 syn keyword mpConstant context_core
419 syn keyword LET anchor_area anchor_par draw_area
420 " mp-cows.mpiv
421 syn keyword mpConstant context_cows cow
422 " mp-crop.mpiv
423 syn keyword mpDef page_marks_add_color page_marks_add_lines
424 syn keyword mpDef page_marks_add_marking page_marks_add_number
425 syn keyword mpVardef crop_color crop_gray crop_marks_cmyk
426 syn keyword mpVardef crop_marks_cmykrgb crop_marks_gray crop_marks_lines
427 syn keyword mpVariable crop_colors more page
428 syn keyword mpConstant context_crop
429 " mp-figs.mpiv
430 syn keyword mpDef naturalfigure registerfigure
431 syn keyword mpVardef figuredimensions figureheight figuresize
432 syn keyword mpVardef figurewidth
433 syn keyword mpConstant context_figs
434 " mp-fobg.mpiv
435 syn keyword mpDef DrawFoFrame
436 syn keyword mpVardef equalpaths
437 syn keyword mpPrimaryDef inset outset
438 syn keyword mpVariable FoBackground FoBackgroundColor FoFrame FoLineColor
439 syn keyword mpVariable FoLineStyle FoLineWidth FoSplit
440 syn keyword mpConstant FoAll FoBottom FoDash FoDotted FoDouble FoGroove
441 syn keyword mpConstant FoHidden FoInset FoLeft FoMedium FoNoColor FoNone
442 syn keyword mpConstant FoOutset FoRidge FoRight FoSolid FoThick FoThin
443 syn keyword mpConstant FoTop context_fobg
444 " mp-form.mpiv
445 syn keyword mpConstant context_form
446 " mp-func.mpiv
447 syn keyword mpDef constructedfunction constructedpairs
448 syn keyword mpDef constructedpath curvedfunction curvedpairs
449 syn keyword mpDef curvedpath function pathconnectors straightfunction
450 syn keyword mpDef straightpairs straightpath
451 syn keyword mpConstant context_func
452 " mp-grap.mpiv
453 syn keyword mpDef Gfor OUT auto begingraph circles crosses diamonds
454 syn keyword mpDef downtriangles endgraph gdata gdraw gdrawarrow
455 syn keyword mpDef gdrawdblarrow gfill graph_addto
456 syn keyword mpDef graph_addto_currentpicture graph_comma
457 syn keyword mpDef graph_coordinate_multiplication graph_draw
458 syn keyword mpDef graph_draw_label graph_errorbar_text graph_fill
459 syn keyword mpDef graph_generate_exponents
460 syn keyword mpDef graph_generate_label_position
461 syn keyword mpDef graph_generate_numbers graph_label_location
462 syn keyword mpDef graph_scan_mark graph_scan_marks graph_setbounds
463 syn keyword mpDef graph_suffix graph_tick_label
464 syn keyword mpDef graph_with_pen_and_color graph_withlist
465 syn keyword mpDef graph_xyscale lefttriangles makefunctionpath plot
466 syn keyword mpDef plotsymbol points rainbow righttriangles smoothpath
467 syn keyword mpDef squares stars uptriangles witherrorbars
468 syn keyword mpVardef addtopath augment autogrid constant_fit
469 syn keyword mpVardef constant_function det escaped_format exp
470 syn keyword mpVardef exponential_fit exponential_function format
471 syn keyword mpVardef formatted frame functionpath gaussian_fit
472 syn keyword mpVardef gaussian_function gdotlabel glabel graph_Feform
473 syn keyword mpVardef graph_Meform graph_arrowhead_extent graph_bounds
474 syn keyword mpVardef graph_clear_bounds
475 syn keyword mpVardef graph_convert_user_path_to_internal graph_cspan
476 syn keyword mpVardef graph_draw_arrowhead graph_error graph_errorbars
477 syn keyword mpVardef graph_exp graph_factor_and_exponent_to_string
478 syn keyword mpVardef graph_gridline_picture graph_is_null
479 syn keyword mpVardef graph_label_convert_user_to_internal graph_loptok
480 syn keyword mpVardef graph_match_exponents graph_mlog
481 syn keyword mpVardef graph_modified_exponent_ypart graph_pair_adjust
482 syn keyword mpVardef graph_picture_conversion graph_post_draw
483 syn keyword mpVardef graph_read_line graph_readpath graph_remap
484 syn keyword mpVardef graph_scan_path graph_select_exponent_mark
485 syn keyword mpVardef graph_select_mark graph_set_bounds
486 syn keyword mpVardef graph_set_default_bounds graph_shapesize
487 syn keyword mpVardef graph_stash_label graph_tick_mark_spacing
488 syn keyword mpVardef graph_unknown_pair_bbox grid isdigit itick
489 syn keyword mpVardef linear_fit linear_function ln logten lorentzian_fit
490 syn keyword mpVardef lorentzian_function otick polynomial_fit
491 syn keyword mpVardef polynomial_function power_law_fit
492 syn keyword mpVardef power_law_function powten setcoords setrange
493 syn keyword mpVardef sortpath strfmt tick varfmt
494 syn keyword mpNewInternal Mzero doubleinfinity graph_log_minimum
495 syn keyword mpNewInternal graph_minimum_number_of_marks largestmantissa
496 syn keyword mpNewInternal linear lntwo log mlogten singleinfinity
497 syn keyword mpVariable Autoform determinant fit_chi_squared
498 syn keyword mpVariable graph_errorbar_picture graph_exp_marks
499 syn keyword mpVariable graph_frame_pair_a graph_frame_pair_b
500 syn keyword mpVariable graph_lin_marks graph_log_marks graph_modified_bias
501 syn keyword mpVariable graph_modified_higher graph_modified_lower
502 syn keyword mpVariable graph_shape r_s resistance_color resistance_name
503 syn keyword mpConstant context_grap
504 " mp-grid.mpiv
505 syn keyword mpDef hlingrid hloggrid vlingrid vloggrid
506 syn keyword mpVardef hlinlabel hlintext hlogtext linlin linlinpath
507 syn keyword mpVardef linlog linlogpath loglin loglinpath loglog
508 syn keyword mpVardef loglogpath processpath vlinlabel vlintext vlogtext
509 syn keyword mpVariable fmt_initialize fmt_pictures fmt_precision
510 syn keyword mpVariable fmt_separator fmt_zerocheck grid_eps
511 syn keyword mpConstant context_grid
512 " mp-grph.mpiv
513 syn keyword mpDef beginfig begingraphictextfig data_mpo_file
514 syn keyword mpDef data_mpy_file doloadfigure draw endfig
515 syn keyword mpDef endgraphictextfig fill fixedplace graphictext
516 syn keyword mpDef loadfigure new_graphictext normalwithshade number
517 syn keyword mpDef old_graphictext outlinefill protectgraphicmacros
518 syn keyword mpDef resetfig reversefill withdrawcolor withfillcolor
519 syn keyword mpDef withshade
520 syn keyword mpVariable currentgraphictext figureshift
521 syn keyword mpConstant context_grph
522 " mp-idea.mpiv
523 syn keyword mpVardef bcomponent ccomponent gcomponent mcomponent
524 syn keyword mpVardef rcomponent somecolor ycomponent
525 " mp-luas.mpiv
526 syn keyword mpDef luacall message
527 syn keyword mpVardef MP lua lualist
528 syn keyword mpConstant context_luas
529 " mp-mlib.mpiv
530 syn keyword mpDef autoalign bitmapimage circular_shade cmyk comment
531 syn keyword mpDef defineshade eofill eofillup externalfigure figure
532 syn keyword mpDef fillup label linear_shade multitonecolor namedcolor
533 syn keyword mpDef nofill onlayer passarrayvariable passvariable
534 syn keyword mpDef plain_label register resolvedcolor scantokens
535 syn keyword mpDef set_circular_vector set_linear_vector shaded
536 syn keyword mpDef spotcolor startpassingvariable stoppassingvariable
537 syn keyword mpDef thelabel transparent[] usemetafunlabels
538 syn keyword mpDef useplainlabels withcircularshade withlinearshade
539 syn keyword mpDef withmask withproperties withshadecenter
540 syn keyword mpDef withshadecolors withshadedirection withshadedomain
541 syn keyword mpDef withshadefactor withshadefraction withshadeorigin
542 syn keyword mpDef withshaderadius withshadestep withshadetransform
543 syn keyword mpDef withshadevector withtransparency
544 syn keyword mpVardef anchored checkbounds checkedbounds
545 syn keyword mpVardef define_circular_shade define_linear_shade dotlabel
546 syn keyword mpVardef escaped_format fmttext fontsize format formatted
547 syn keyword mpVardef installlabel onetimefmttext onetimetextext
548 syn keyword mpVardef outlinetext plain_thelabel properties rawfmttext
549 syn keyword mpVardef rawtexbox rawtextext rule strfmt strut texbox
550 syn keyword mpVardef textext thefmttext thelabel thetexbox thetextext
551 syn keyword mpVardef tostring transparency_alternative_to_number
552 syn keyword mpVardef validtexbox varfmt verbatim
553 syn keyword mpPrimaryDef asgroup infont normalinfont shadedinto
554 syn keyword mpPrimaryDef shownshadecenter shownshadedirection
555 syn keyword mpPrimaryDef shownshadeorigin shownshadevector withshade
556 syn keyword mpPrimaryDef withshademethod
557 syn keyword mpNewInternal colorburntransparent colordodgetransparent
558 syn keyword mpNewInternal colortransparent darkentransparent
559 syn keyword mpNewInternal differencetransparent exclusiontransparent
560 syn keyword mpNewInternal hardlighttransparent huetransparent
561 syn keyword mpNewInternal lightentransparent luminositytransparent
562 syn keyword mpNewInternal multiplytransparent normaltransparent
563 syn keyword mpNewInternal overlaytransparent saturationtransparent
564 syn keyword mpNewInternal screentransparent shadefactor softlighttransparent
565 syn keyword mpNewInternal textextoffset
566 syn keyword mpType property transparency
567 syn keyword mpVariable currentoutlinetext shadeddown shadedleft
568 syn keyword mpVariable shadedright shadedup shadeoffset trace_shades
569 syn keyword mpConstant context_mlib
570 " mp-page.mpiv
571 syn keyword mpDef BoundCoverAreas BoundPageAreas Enlarged FakeRule
572 syn keyword mpDef FakeWord LoadPageState OverlayBox RuleColor
573 syn keyword mpDef SetAreaVariables SetPageArea SetPageBackPage
574 syn keyword mpDef SetPageCoverPage SetPageField SetPageFrontPage
575 syn keyword mpDef SetPageHsize SetPageHstep SetPageLocation
576 syn keyword mpDef SetPagePage SetPageSpine SetPageVariables
577 syn keyword mpDef SetPageVsize SetPageVstep StartCover StartPage
578 syn keyword mpDef StopCover StopPage SwapPageState innerenlarged
579 syn keyword mpDef llEnlarged lrEnlarged outerenlarged ulEnlarged
580 syn keyword mpDef urEnlarged
581 syn keyword mpVardef BackPageHeight BackPageWidth BackSpace BaseLineSkip
582 syn keyword mpVardef BodyFontSize BottomDistance BottomHeight
583 syn keyword mpVardef BottomSpace CoverHeight CoverWidth CurrentColumn
584 syn keyword mpVardef CurrentHeight CurrentWidth CutSpace EmWidth
585 syn keyword mpVardef ExHeight FooterDistance FooterHeight
586 syn keyword mpVardef FrontPageHeight FrontPageWidth HSize HeaderDistance
587 syn keyword mpVardef HeaderHeight InPageBody InnerEdgeDistance
588 syn keyword mpVardef InnerEdgeWidth InnerMarginDistance InnerMarginWidth
589 syn keyword mpVardef InnerSpaceWidth LastPageNumber LayoutColumnDistance
590 syn keyword mpVardef LayoutColumnWidth LayoutColumns LeftEdgeDistance
591 syn keyword mpVardef LeftEdgeWidth LeftMarginDistance LeftMarginWidth
592 syn keyword mpVardef LineHeight MakeupHeight MakeupWidth NOfColumns
593 syn keyword mpVardef NOfPages OnOddPage OnRightPage OuterEdgeDistance
594 syn keyword mpVardef OuterEdgeWidth OuterMarginDistance OuterMarginWidth
595 syn keyword mpVardef OuterSpaceWidth OverlayDepth OverlayHeight
596 syn keyword mpVardef OverlayLineWidth OverlayOffset OverlayWidth
597 syn keyword mpVardef PageDepth PageFraction PageNumber PageOffset
598 syn keyword mpVardef PaperBleed PaperHeight PaperWidth PrintPaperHeight
599 syn keyword mpVardef PrintPaperWidth RealPageNumber RightEdgeDistance
600 syn keyword mpVardef RightEdgeWidth RightMarginDistance RightMarginWidth
601 syn keyword mpVardef SpineHeight SpineWidth StrutDepth StrutHeight
602 syn keyword mpVardef TextHeight TextWidth TopDistance TopHeight TopSkip
603 syn keyword mpVardef TopSpace VSize defaultcolormodel
604 syn keyword mpVariable Area BackPage CoverPage CurrentLayout Field
605 syn keyword mpVariable FrontPage HorPos Hsize Hstep Location Page
606 syn keyword mpVariable PageStateAvailable RuleDepth RuleDirection
607 syn keyword mpVariable RuleFactor RuleH RuleHeight RuleOffset RuleOption
608 syn keyword mpVariable RuleThickness RuleV RuleWidth Spine VerPos Vsize
609 syn keyword mpVariable Vstep
610 syn keyword mpConstant context_page
611 " mp-shap.mpiv
612 syn keyword mpDef drawline drawshape some_shape
613 syn keyword mpDef start_predefined_shape_definition
614 syn keyword mpDef stop_predefined_shape_definition
615 syn keyword mpVardef drawpredefinedline drawpredefinedshape
616 syn keyword mpVardef some_shape_path
617 syn keyword mpVariable predefined_shapes predefined_shapes_xradius
618 syn keyword mpVariable predefined_shapes_xxradius
619 syn keyword mpVariable predefined_shapes_yradius
620 syn keyword mpVariable predefined_shapes_yyradius
621 syn keyword mpConstant context_shap
622 " mp-step.mpiv
623 syn keyword mpDef initialize_step_variables midbottomboundary
624 syn keyword mpDef midtopboundary step_begin_cell step_begin_chart
625 syn keyword mpDef step_cell_ali step_cell_bot step_cell_top
626 syn keyword mpDef step_cells step_end_cell step_end_chart
627 syn keyword mpDef step_text_bot step_text_mid step_text_top
628 syn keyword mpDef step_texts
629 syn keyword mpVariable cell_distance_x cell_distance_y cell_fill_color
630 syn keyword mpVariable cell_line_color cell_line_width cell_offset
631 syn keyword mpVariable chart_align chart_category chart_vertical
632 syn keyword mpVariable line_distance line_height line_line_color
633 syn keyword mpVariable line_line_width line_offset nofcells
634 syn keyword mpVariable text_distance_set text_fill_color text_line_color
635 syn keyword mpVariable text_line_width text_offset
636 syn keyword mpConstant context_cell
637 " mp-symb.mpiv
638 syn keyword mpDef finishglyph prepareglyph
639 syn keyword mpConstant lefttriangle midbar onebar righttriangle sidebar
640 syn keyword mpConstant sublefttriangle subrighttriangle twobar
641 " mp-text.mpiv
642 syn keyword mpDef build_parshape
643 syn keyword mpVardef found_point
644 syn keyword mpVariable trace_parshape
645 syn keyword mpConstant context_text
646 " mp-tool.mpiv
647 syn keyword mpCommand dump
648 syn keyword mpDef addbackground b_color beginglyph break centerarrow
649 syn keyword mpDef clearxy condition data_mpd_file detaileddraw
650 syn keyword mpDef detailpaths dowithpath draw drawboundary
651 syn keyword mpDef drawboundingbox drawcontrollines drawcontrolpoints
652 syn keyword mpDef drawfill draworigin drawpath drawpathonly
653 syn keyword mpDef drawpathwithpoints drawpoint drawpointlabels
654 syn keyword mpDef drawpoints drawticks drawwholepath drawxticks
655 syn keyword mpDef drawyticks endglyph fill finishsavingdata g_color
656 syn keyword mpDef inner_boundingbox job_name leftarrow loadmodule
657 syn keyword mpDef midarrowhead naturalizepaths newboolean newcolor
658 syn keyword mpDef newnumeric newpair newpath newpicture newstring
659 syn keyword mpDef newtransform normalcolors normaldraw normalfill
660 syn keyword mpDef normalwithcolor outer_boundingbox pop_boundingbox
661 syn keyword mpDef popboundingbox popcurrentpicture push_boundingbox
662 syn keyword mpDef pushboundingbox pushcurrentpicture r_color readfile
663 syn keyword mpDef recolor redraw refill register_dirty_chars
664 syn keyword mpDef remapcolor remapcolors remappedcolor reprocess
665 syn keyword mpDef resetarrows resetcolormap resetdrawoptions
666 syn keyword mpDef resolvedcolor restroke retext rightarrow savedata
667 syn keyword mpDef saveoptions scale_currentpicture set_ahlength
668 syn keyword mpDef set_grid showgrid startplaincompatibility
669 syn keyword mpDef startsavingdata stopplaincompatibility
670 syn keyword mpDef stopsavingdata stripe_path_a stripe_path_n undashed
671 syn keyword mpDef undrawfill untext visualizeddraw visualizedfill
672 syn keyword mpDef visualizepaths withcolor withgray
673 syn keyword mpDef xscale_currentpicture xshifted
674 syn keyword mpDef xyscale_currentpicture yscale_currentpicture
675 syn keyword mpDef yshifted
676 syn keyword mpVardef acos acosh anglebetween area arrowhead
677 syn keyword mpVardef arrowheadonpath arrowpath asciistring asin asinh
678 syn keyword mpVardef atan basiccolors bbheight bbwidth bcomponent
679 syn keyword mpVardef blackcolor bottomboundary boundingbox c_phantom
680 syn keyword mpVardef ccomponent center cleanstring colorcircle
681 syn keyword mpVardef colordecimals colordecimalslist colorlike colorpart
682 syn keyword mpVardef colortype complementary complemented copylist cos
683 syn keyword mpVardef cosh cot cotd curved ddddecimal dddecimal ddecimal
684 syn keyword mpVardef decorated drawarrowpath epsed exp freedotlabel
685 syn keyword mpVardef freelabel gcomponent getunstringed grayed greyed
686 syn keyword mpVardef hsvtorgb infinite innerboundingbox interpolated inv
687 syn keyword mpVardef invcos inverted invsin invtan laddered leftboundary
688 syn keyword mpVardef leftpath leftrightpath listsize listtocurves
689 syn keyword mpVardef listtolines ln log mcomponent new_on_grid
690 syn keyword mpVardef outerboundingbox paired pen_size penpoint phantom
691 syn keyword mpVardef pointarrow pow punked rangepath rcomponent
692 syn keyword mpVardef redecorated repathed rightboundary rightpath
693 syn keyword mpVardef rotation roundedsquare set_inner_boundingbox
694 syn keyword mpVardef set_outer_boundingbox setunstringed shapedlist
695 syn keyword mpVardef simplified sin sinh sortlist sqr straightpath tan
696 syn keyword mpVardef tand tanh tensecircle thefreelabel topboundary
697 syn keyword mpVardef tripled undecorated unitvector unspiked unstringed
698 syn keyword mpVardef whitecolor ycomponent
699 syn keyword mpPrimaryDef along blownup bottomenlarged cornered crossed
700 syn keyword mpPrimaryDef enlarged enlonged leftenlarged llenlarged llmoved
701 syn keyword mpPrimaryDef lrenlarged lrmoved on paralleled randomized
702 syn keyword mpPrimaryDef randomizedcontrols randomshifted rightenlarged
703 syn keyword mpPrimaryDef shortened sized smoothed snapped softened squeezed
704 syn keyword mpPrimaryDef stretched superellipsed topenlarged ulenlarged
705 syn keyword mpPrimaryDef ulmoved uncolored urenlarged urmoved xsized
706 syn keyword mpPrimaryDef xstretched xyscaled xysized ysized ystretched zmod
707 syn keyword mpSecondaryDef anglestriped intersection_point numberstriped
708 syn keyword mpSecondaryDef peepholed
709 syn keyword mpTertiaryDef cutends
710 syn keyword mpNewInternal ahdimple ahvariant anglelength anglemethod
711 syn keyword mpNewInternal angleoffset charscale cmykcolormodel graycolormodel
712 syn keyword mpNewInternal greycolormodel maxdimensions metapostversion
713 syn keyword mpNewInternal nocolormodel rgbcolormodel striped_normal_inner
714 syn keyword mpNewInternal striped_normal_outer striped_reverse_inner
715 syn keyword mpNewInternal striped_reverse_outer
716 syn keyword mpType grayscale greyscale quadruplet triplet
717 syn keyword mpVariable ahfactor collapse_data color_map drawoptionsfactor
718 syn keyword mpVariable freedotlabelsize freelabeloffset grid grid_full
719 syn keyword mpVariable grid_h grid_left grid_nx grid_ny grid_w grid_x
720 syn keyword mpVariable grid_y intersection_found originlength
721 syn keyword mpVariable plain_compatibility_data pointlabelfont
722 syn keyword mpVariable pointlabelscale refillbackground savingdata
723 syn keyword mpVariable savingdatadone swappointlabels ticklength tickstep
724 syn keyword mpConstant CRLF DQUOTE PERCENT SPACE bcircle context_tool crlf
725 syn keyword mpConstant darkblue darkcyan darkgray darkgreen darkmagenta
726 syn keyword mpConstant darkred darkyellow downtriangle dquote freesquare
727 syn keyword mpConstant fulldiamond fullsquare fulltriangle lcircle
728 syn keyword mpConstant lefttriangle lightgray llcircle lltriangle lrcircle
729 syn keyword mpConstant lrtriangle mpversion nocolor noline oddly
730 syn keyword mpConstant originpath percent rcircle righttriangle space
731 syn keyword mpConstant tcircle triangle ulcircle ultriangle unitcircle
732 syn keyword mpConstant unitdiamond unittriangle uptriangle urcircle
733 syn keyword mpConstant urtriangle
734 endif " MetaFun macros
102 735
103 " Define the default highlighting 736 " Define the default highlighting
104 " Only when an item doesn't have highlighting yet 737 hi def link mpTeXdelim mpPrimitive
105 738 hi def link mpBoolExp mfBoolExp
106 hi def link mpTeXinsert String 739 hi def link mpNumExp mfNumExp
107 hi def link mpTeXbegin Statement 740 hi def link mpPairExp mfPairExp
108 hi def link mpTeXend Statement 741 hi def link mpPathExp mfPathExp
109 hi def link mpInternal mfInternal 742 hi def link mpPenExp mfPenExp
110 hi def link mpMacro Macro 743 hi def link mpPicExp mfPicExp
111 744 hi def link mpStringExp mfStringExp
745 hi def link mpInternal mfInternal
746 hi def link mpCommand mfCommand
747 hi def link mpType mfType
748 hi def link mpPrimitive mfPrimitive
749 hi def link mpDef mfDef
750 hi def link mpVardef mpDef
751 hi def link mpPrimaryDef mpDef
752 hi def link mpSecondaryDef mpDef
753 hi def link mpTertiaryDef mpDef
754 hi def link mpNewInternal mpInternal
755 hi def link mpVariable mfVariable
756 hi def link mpConstant mfConstant
757 hi def link mpOnOff mpPrimitive
758 hi def link mpDash mpPrimitive
112 759
113 let b:current_syntax = "mp" 760 let b:current_syntax = "mp"
114 761
115 " vim: ts=8 762 let &cpo = s:cpo_sav
763 unlet! s:cpo_sav
764
765 " vim:sw=2