/usr/share/vim/vim82/syntax
NameSizeModeActions
2html.vim754190644editdlrm
8th.vim286880644editdlrm
a2ps.vim24260644editdlrm
a65.vim63940644editdlrm
aap.vim56970644editdlrm
abap.vim91550644editdlrm
abaqus.vim10940644editdlrm
abc.vim18420644editdlrm
abel.vim51140644editdlrm
acedb.vim48710644editdlrm
ada.vim130500644editdlrm
aflex.vim43680644editdlrm
ahdl.vim27710644editdlrm
aidl.vim6290644editdlrm
alsaconf.vim15460644editdlrm
amiga.vim29690644editdlrm
aml.vim241370644editdlrm
ampl.vim41080644editdlrm
ant.vim58160644editdlrm
antlr.vim17930644editdlrm
apache.vim153740644editdlrm
apachestyle.vim14170644editdlrm
aptconf.vim222280644editdlrm
arch.vim11490644editdlrm
arduino.vim20310644editdlrm
art.vim12970644editdlrm
asciidoc.vim111460644editdlrm
asm.vim60370644editdlrm
asm68k.vim142800644editdlrm
asmh8300.vim17180644editdlrm
asn.vim25780644editdlrm
aspperl.vim8110644editdlrm
aspvbs.vim90990644editdlrm
asterisk.vim56290644editdlrm
asteriskvm.vim23320644editdlrm
atlas.vim26020644editdlrm
autodoc.vim37300644editdlrm
autohotkey.vim118610644editdlrm
autoit.vim480140644editdlrm
automake.vim39380644editdlrm
ave.vim19000644editdlrm
avra.vim26830644editdlrm
awk.vim81910644editdlrm
ayacc.vim25850644editdlrm
b.vim49020644editdlrm
baan.vim735950644editdlrm
bash.vim3710644editdlrm
basic.vim83060644editdlrm
bc.vim17910644editdlrm
bdf.vim38410644editdlrm
bib.vim60040644editdlrm
bindzone.vim49060644editdlrm
blank.vim7940644editdlrm
bsdl.vim3770644editdlrm
bst.vim28250644editdlrm
btm.vim92850644editdlrm
bzl.vim3740644editdlrm
bzr.vim15600644editdlrm
c.vim276380644editdlrm
cabal.vim73630644editdlrm
cabalconfig.vim11790644editdlrm
cabalproject.vim9440644editdlrm
calendar.vim50420644editdlrm
catalog.vim9210644editdlrm
cdl.vim30920644editdlrm
cdrdaoconf.vim36470644editdlrm
cdrtoc.vim227560644editdlrm
cf.vim186440644editdlrm
cfg.vim13510644editdlrm
ch.vim9220644editdlrm
chaiscript.vim28870644editdlrm
change.vim9010644editdlrm
changelog.vim20970644editdlrm
chaskell.vim3330644editdlrm
cheetah.vim17520644editdlrm
chicken.vim26180644editdlrm
chill.vim80240644editdlrm
chordpro.vim25210644editdlrm
cl.vim39050644editdlrm
clean.vim31510644editdlrm
clipper.vim55760644editdlrm
clojure.vim464890644editdlrm
cmake.vim421480644editdlrm
cmod.vim62710644editdlrm
cmusrc.vim129210644editdlrm
cobol.vim135920644editdlrm
coco.vim13000644editdlrm
colortest.vim32010644editdlrm
conaryrecipe.vim80360644editdlrm
conf.vim7990644editdlrm
config.vim20740644editdlrm
context.vim61990644editdlrm
cpp.vim35840644editdlrm
crm.vim11970644editdlrm
crontab.vim22150644editdlrm
cs.vim109470644editdlrm
csc.vim84490644editdlrm
csdl.vim237550644editdlrm
csh.vim64600644editdlrm
csp.vim71520644editdlrm
css.vim329380644editdlrm
cterm.vim64060644editdlrm
ctrlh.vim6880644editdlrm
cucumber.vim318870644editdlrm
cuda.vim26910644editdlrm
cupl.vim38730644editdlrm
cuplsim.vim19160644editdlrm
cvs.vim8820644editdlrm
cvsrc.vim12540644editdlrm
cweb.vim28920644editdlrm
cynlib.vim25480644editdlrm
cynpp.vim12630644editdlrm
d.vim286310644editdlrm
dart.vim32920644editdlrm
datascript.vim38070644editdlrm
dcd.vim18030644editdlrm
dcl.vim63830644editdlrm
debchangelog.vim34340644editdlrm
debcontrol.vim87220644editdlrm
debcopyright.vim11370644editdlrm
debsources.vim22050644editdlrm
def.vim10970644editdlrm
denyhosts.vim73650644editdlrm
desc.vim30770644editdlrm
desktop.vim93480644editdlrm
dictconf.vim31180644editdlrm
dictdconf.vim64650644editdlrm
diff.vim174200644editdlrm
dircolors.vim69460644editdlrm
dirpager.vim17870644editdlrm
diva.vim47360644editdlrm
django.vim39340644editdlrm
dns.vim1320644editdlrm
dnsmasq.vim100670644editdlrm
docbk.vim103210644editdlrm
docbksgml.vim1930644editdlrm
docbkxml.vim1910644editdlrm
dockerfile.vim24740644editdlrm
dosbatch.vim62600644editdlrm
dosini.vim12660644editdlrm
dot.vim30180644editdlrm
doxygen.vim389140644editdlrm
dracula.vim26680644editdlrm
dsl.vim13120644editdlrm
dtd.vim50070644editdlrm
dtml.vim166130644editdlrm
dtrace.vim64420644editdlrm
dts.vim12100644editdlrm
dune.vim19490644editdlrm
dylan.vim34140644editdlrm
dylanintr.vim10780644editdlrm
dylanlid.vim6640644editdlrm
ecd.vim12290644editdlrm
edif.vim12780644editdlrm
eiffel.vim69260644editdlrm
elf.vim23490644editdlrm
elinks.vim104940644editdlrm
elm.vim36510644editdlrm
elmfilt.vim28930644editdlrm
erlang.vim111340644editdlrm
eruby.vim32990644editdlrm
esmtprc.vim9380644editdlrm
esqlc.vim20940644editdlrm
esterel.vim30530644editdlrm
eterm.vim191720644editdlrm
euphoria3.vim61030644editdlrm
euphoria4.vim145370644editdlrm
eviews.vim50040644editdlrm
exim.vim180850644editdlrm
expect.vim37340644editdlrm
exports.vim17480644editdlrm
falcon.vim120130644editdlrm
fan.vim54450644editdlrm
fasm.vim87570644editdlrm
fdcc.vim56480644editdlrm
fetchmail.vim33080644editdlrm
fgl.vim72740644editdlrm
flexwiki.vim54350644editdlrm
focexec.vim35250644editdlrm
form.vim63850644editdlrm
forth.vim106700644editdlrm
fortran.vim330540644editdlrm
foxpro.vim328560644editdlrm
framescript.vim116790644editdlrm
freebasic.vim108350644editdlrm
fstab.vim159020644editdlrm
fvwm.vim250260644editdlrm
fvwm2m4.vim7110644editdlrm
gdb.vim43660644editdlrm
gdmo.vim32990644editdlrm
gedcom.vim22750644editdlrm
gift.vim102390644editdlrm
git.vim42970644editdlrm
gitcommit.vim50830644editdlrm
gitconfig.vim15960644editdlrm
gitolite.vim44540644editdlrm
gitrebase.vim29500644editdlrm
gitsendemail.vim5800644editdlrm
gkrellmrc.vim41160644editdlrm
gnash.vim34620644editdlrm
gnuplot.vim236620644editdlrm
go.vim79040644editdlrm
godoc.vim3520644editdlrm
gp.vim29650644editdlrm
gpg.vim55910644editdlrm
gprof.vim21170644editdlrm
grads.vim17420644editdlrm
gretl.vim37300644editdlrm
groff.vim2930644editdlrm
groovy.vim224840644editdlrm
group.vim17190644editdlrm
grub.vim38820644editdlrm
gsp.vim20310644editdlrm
gtkrc.vim93180644editdlrm
haml.vim70710644editdlrm
hamster.vim138400644editdlrm
haskell.vim92420644editdlrm
haste.vim49940644editdlrm
hastepreproc.vim14220644editdlrm
hb.vim31580644editdlrm
help.vim83880644editdlrm
help_ru.vim35130644editdlrm
hercules.vim57200644editdlrm
hex.vim40110644editdlrm
hgcommit.vim11140644editdlrm
hitest.vim36430644editdlrm
hog.vim121120644editdlrm
hollywood.vim444500644editdlrm
hostconf.vim38700644editdlrm
hostsaccess.vim5490644editdlrm
html.vim185440644editdlrm
htmlcheetah.vim4880644editdlrm
htmldjango.vim10110644editdlrm
htmlm4.vim6700644editdlrm
htmlos.vim83130644editdlrm
ia64.vim104720644editdlrm
ibasic.vim70360644editdlrm
icemenu.vim8240644editdlrm
icon.vim69760644editdlrm
idl.vim199010644editdlrm
idlang.vim134620644editdlrm
indent.vim71710644editdlrm
inform.vim194830644editdlrm
initex.vim192240644editdlrm
initng.vim33990644editdlrm
inittab.vim25410644editdlrm
ipfilter.vim16220644editdlrm
ishd.vim270570644editdlrm
iss.vim50300644editdlrm
ist.vim20000644editdlrm
j.vim94410644editdlrm
jal.vim89630644editdlrm
jam.vim267110644editdlrm
jargon.vim7400644editdlrm
java.vim185810644editdlrm
javacc.vim22560644editdlrm
javascript.vim56160644editdlrm
javascriptreact.vim1330644editdlrm
jess.vim62300644editdlrm
jgraph.vim12120644editdlrm
jovial.vim41070644editdlrm
jproperties.vim54960644editdlrm
json.vim62550644editdlrm
jsp.vim26780644editdlrm
kconfig.vim363040644editdlrm
kivy.vim9860644editdlrm
kix.vim63290644editdlrm
kscript.vim19850644editdlrm
kwt.vim24540644editdlrm
lace.vim40750644editdlrm
latte.vim35110644editdlrm
ld.vim29140644editdlrm
ldapconf.vim133020644editdlrm
ldif.vim10140644editdlrm
less.vim41950644editdlrm
lex.vim86510644editdlrm
lftp.vim74710644editdlrm
lhaskell.vim49360644editdlrm
libao.vim6360644editdlrm
lifelines.vim66400644editdlrm
lilo.vim104270644editdlrm
limits.vim13170644editdlrm
liquid.vim61840644editdlrm
lisp.vim358940644editdlrm
lite.vim48450644editdlrm
litestep.vim66760644editdlrm
loginaccess.vim41970644editdlrm
logindefs.vim75370644editdlrm
logtalk.vim168490644editdlrm
lotos.vim23610644editdlrm
lout.vim43260644editdlrm
lpc.vim231380644editdlrm
lprolog.vim39790644editdlrm
lscript.vim120990644editdlrm
lsl.vim158000644editdlrm
lss.vim48700644editdlrm
lua.vim140520644editdlrm
lynx.vim65790644editdlrm
m4.vim26930644editdlrm
mail.vim60690644editdlrm
mailaliases.vim27670644editdlrm
mailcap.vim11350644editdlrm
make.vim61990644editdlrm
mallard.vim17260644editdlrm
man.vim16800644editdlrm
manconf.vim43440644editdlrm
manual.vim9090644editdlrm
maple.vim285700644editdlrm
markdown.vim91260644editdlrm
masm.vim172450644editdlrm
mason.vim38180644editdlrm
master.vim10220644editdlrm
matlab.vim43160644editdlrm
maxima.vim188020644editdlrm
mel.vim34060644editdlrm
meson.vim41120644editdlrm
messages.vim27150644editdlrm
mf.vim154230644editdlrm
mgl.vim37240644editdlrm
mgp.vim20000644editdlrm
mib.vim26960644editdlrm
mix.vim29420644editdlrm
mma.vim117990644editdlrm
mmix.vim49690644editdlrm
mmp.vim14860644editdlrm
modconf.vim14190644editdlrm
model.vim14690644editdlrm
modsim3.vim36230644editdlrm
modula2.vim32250644editdlrm
modula3.vim20120644editdlrm
monk.vim102190644editdlrm
moo.vim92340644editdlrm
mp.vim445300644editdlrm
mplayerconf.vim74870644editdlrm
mrxvtrc.vim96030644editdlrm
msidl.vim34640644editdlrm
msmessages.vim63180644editdlrm
msql.vim23900644editdlrm
mupad.vim154760644editdlrm
murphi.vim45790644editdlrm
mush.vim131870644editdlrm
muttrc.vim658120644editdlrm
mysql.vim176090644editdlrm
n1ql.vim128990644editdlrm
named.vim100050644editdlrm
nanorc.vim106200644editdlrm
nasm.vim262850644editdlrm
nastran.vim85040644editdlrm
natural.vim69770644editdlrm
ncf.vim134160644editdlrm
neomuttrc.vim655370644editdlrm
netrc.vim19340644editdlrm
netrw.vim72020644editdlrm
ninja.vim28890644editdlrm
nosyntax.vim7550644editdlrm
nqc.vim140680644editdlrm
nroff.vim77790644editdlrm
nsis.vim340570644editdlrm
obj.vim27860644editdlrm
objc.vim417640644editdlrm
objcpp.vim6000644editdlrm
ocaml.vim169530644editdlrm
occam.vim43160644editdlrm
omnimark.vim63770644editdlrm
opam.vim14030644editdlrm
openroad.vim139790644editdlrm
opl.vim41280644editdlrm
ora.vim271410644editdlrm
pamconf.vim59520644editdlrm
pamenv.vim11350644editdlrm
papp.vim37890644editdlrm
pascal.vim150090644editdlrm
passwd.vim24430644editdlrm
pbtxt.vim13730644editdlrm
pcap.vim14960644editdlrm
pccts.vim40930644editdlrm
pdf.vim35390644editdlrm
perl.vim384730644editdlrm
perl6.vim741300644editdlrm
pf.vim103710644editdlrm
pfmain.vim927370644editdlrm
php.vim978850644editdlrm
phtml.vim1510644editdlrm
pic.vim33330644editdlrm
pike.vim218070644editdlrm
pilrc.vim53110644editdlrm
pine.vim154110644editdlrm
pinfo.vim52960644editdlrm
plaintex.vim103010644editdlrm
pli.vim132220644editdlrm
plm.vim53610644editdlrm
plp.vim12670644editdlrm
plsql.vim129180644editdlrm
po.vim63930644editdlrm
pod.vim72830644editdlrm
poke.vim51890644editdlrm
postscr.vim461330644editdlrm
pov.vim90570644editdlrm
povini.vim34880644editdlrm
ppd.vim8680644editdlrm
ppwiz.vim27800644editdlrm
prescribe.vim23830644editdlrm
privoxy.vim35790644editdlrm
procmail.vim20190644editdlrm
progress.vim317480644editdlrm
prolog.vim44940644editdlrm
promela.vim17280644editdlrm
proto.vim35430644editdlrm
protocols.vim14290644editdlrm
psf.vim42900644editdlrm
ptcap.vim41280644editdlrm
purifylog.vim33570644editdlrm
pyrex.vim16630644editdlrm
python.vim130820644editdlrm
qf.vim5960644editdlrm
quake.vim85540644editdlrm
r.vim147300644editdlrm
racc.vim56190644editdlrm
radiance.vim71550644editdlrm
raml.vim44500644editdlrm
ratpoison.vim172210644editdlrm
rc.vim102170644editdlrm
rcs.vim21330644editdlrm
rcslog.vim5570644editdlrm
readline.vim174870644editdlrm
README.txt14030644editdlrm
rebol.vim71670644editdlrm
redif.vim879420644editdlrm
registry.vim33550644editdlrm
rego.vim38320644editdlrm
remind.vim27130644editdlrm
resolv.vim63610644editdlrm
reva.vim75830644editdlrm
rexx.vim153310644editdlrm
rhelp.vim121340644editdlrm
rib.vim21920644editdlrm
rmd.vim53820644editdlrm
rnc.vim22630644editdlrm
rng.vim8170644editdlrm
rnoweb.vim19090644editdlrm
robots.vim15300644editdlrm
rpcgen.vim16670644editdlrm
rpl.vim257000644editdlrm
rrst.vim13060644editdlrm
rst.vim117790644editdlrm
rtf.vim23310644editdlrm
ruby.vim411120644editdlrm
rust.vim166120644editdlrm
samba.vim61310644editdlrm
sas.vim340870644editdlrm
sass.vim62630644editdlrm
sather.vim34900644editdlrm
sbt.vim8800644editdlrm
scala.vim113070644editdlrm
scheme.vim193300644editdlrm
scilab.vim32100644editdlrm
screen.vim91040644editdlrm
scss.vim5260644editdlrm
sd.vim22230644editdlrm
sdc.vim13910644editdlrm
sdl.vim65630644editdlrm
sed.vim50330644editdlrm
sendpr.vim9050644editdlrm
sensors.vim15130644editdlrm
services.vim18230644editdlrm
setserial.vim52290644editdlrm
sexplib.vim36850644editdlrm
sgml.vim88660644editdlrm
sgmldecl.vim20410644editdlrm
sgmllnx.vim18510644editdlrm
sh.vim442610644editdlrm
sicad.vim184750644editdlrm
sieve.vim16710644editdlrm
sil.vim85410644editdlrm
simula.vim33710644editdlrm
sinda.vim36660644editdlrm
sindacmp.vim12740644editdlrm
sindaout.vim19610644editdlrm
sisu.vim221800644editdlrm
skill.vim257690644editdlrm
sl.vim40840644editdlrm
slang.vim33020644editdlrm
slice.vim29280644editdlrm
slpconf.vim117910644editdlrm
slpreg.vim53460644editdlrm
slpspi.vim11810644editdlrm
slrnrc.vim128110644editdlrm
slrnsc.vim30980644editdlrm
sm.vim28510644editdlrm
smarty.vim28830644editdlrm
smcl.vim120430644editdlrm
smil.vim56160644editdlrm
smith.vim7930644editdlrm
sml.vim95180644editdlrm
snnsnet.vim24820644editdlrm
snnspat.vim22280644editdlrm
snnsres.vim19330644editdlrm
snobol4.vim53340644editdlrm
spec.vim127630644editdlrm
specman.vim73450644editdlrm
spice.vim22430644editdlrm
splint.vim157860644editdlrm
spup.vim139260644editdlrm
spyce.vim44550644editdlrm
sql.vim11200644editdlrm
sqlanywhere.vim419290644editdlrm
sqlforms.vim67340644editdlrm
sqlhana.vim110270644editdlrm
sqlinformix.vim59010644editdlrm
sqlj.vim29700644editdlrm
sqloracle.vim76490644editdlrm
sqr.vim130120644editdlrm
squid.vim69310644editdlrm
srec.vim38150644editdlrm
sshconfig.vim114410644editdlrm
sshdconfig.vim129270644editdlrm
st.vim27520644editdlrm
stata.vim270560644editdlrm
stp.vim54270644editdlrm
strace.vim19700644editdlrm
sudoers.vim244500644editdlrm
svg.vim4360644editdlrm
svn.vim18520644editdlrm
swift.vim88280644editdlrm
swiftgyb.vim8220644editdlrm
syncolor.vim41390644editdlrm
synload.vim20340644editdlrm
syntax.vim12280644editdlrm
sysctl.vim11530644editdlrm
systemd.vim1840644editdlrm
systemverilog.vim35390644editdlrm
tads.vim68620644editdlrm
tags.vim11560644editdlrm
tak.vim29200644editdlrm
takcmp.vim15930644editdlrm
takout.vim20000644editdlrm
tap.vim43620644editdlrm
tar.vim3730644editdlrm
taskdata.vim12070644editdlrm
taskedit.vim11300644editdlrm
tasm.vim56910644editdlrm
tcl.vim172860644editdlrm
tcsh.vim132690644editdlrm
template.vim4490644editdlrm
teraterm.vim49800644editdlrm
terminfo.vim48030644editdlrm
tex.vim650430644editdlrm
texinfo.vim255680644editdlrm
texmf.vim22810644editdlrm
tf.vim69040644editdlrm
tidy.vim135590644editdlrm
tilde.vim15390644editdlrm
tli.vim16580644editdlrm
tmux.vim59490644editdlrm
tpp.vim34130644editdlrm
trasys.vim50330644editdlrm
treetop.vim36680644editdlrm
trustees.vim15460644editdlrm
tsalt.vim83250644editdlrm
tsscl.vim51200644editdlrm
tssgm.vim27870644editdlrm
tssop.vim17850644editdlrm
tt2.vim79230644editdlrm
tt2html.vim5160644editdlrm
tt2js.vim5220644editdlrm
typescript.vim14230644editdlrm
typescriptcommon.vim1343840644editdlrm
typescriptreact.vim39240644editdlrm
uc.vim66340644editdlrm
udevconf.vim12270644editdlrm
udevperm.vim24090644editdlrm
udevrules.vim69600644editdlrm
uil.vim28210644editdlrm
updatedb.vim12200644editdlrm
upstart.vim31510644editdlrm
upstreamdat.vim140480644editdlrm
upstreaminstalllog.vim9710644editdlrm
upstreamlog.vim26200644editdlrm
upstreamrpt.vim141970644editdlrm
usserverlog.vim31180644editdlrm
usw2kagtlog.vim27020644editdlrm
valgrind.vim32160644editdlrm
vb.vim202990644editdlrm
vera.vim195520644editdlrm
verilog.vim50550644editdlrm
verilogams.vim60830644editdlrm
vgrindefs.vim12140644editdlrm
vhdl.vim96580644editdlrm
vim.vim749490644editdlrm
viminfo.vim12410644editdlrm
virata.vim116130644editdlrm
vmasm.vim85120644editdlrm
voscm.vim69750644editdlrm
vrml.vim127880644editdlrm
vroom.vim34920644editdlrm
vsejcl.vim10040644editdlrm
vue.vim4330644editdlrm
wast.vim39260644editdlrm
wdiff.vim7160644editdlrm
web.vim11140644editdlrm
webmacro.vim31300644editdlrm
wget.vim39610644editdlrm
whitespace.vim3570644editdlrm
winbatch.vim121520644editdlrm
wml.vim57310644editdlrm
wsh.vim12420644editdlrm
wsml.vim54000644editdlrm
wvdial.vim10930644editdlrm
xbl.vim5680644editdlrm
xdefaults.vim58870644editdlrm
xf86conf.vim147250644editdlrm
xhtml.vim1860644editdlrm
xinetd.vim142080644editdlrm
xkb.vim33130644editdlrm
xmath.vim108310644editdlrm
xml.vim91290644editdlrm
xmodmap.vim465110644editdlrm
xpm.vim44030644editdlrm
xpm2.vim46970644editdlrm
xquery.vim71910644editdlrm
xs.vim2467450644editdlrm
xsd.vim21250644editdlrm
xslt.vim26540644editdlrm
xxd.vim7670644editdlrm
yacc.vim56560644editdlrm
yaml.vim128740644editdlrm
z8a.vim28940644editdlrm
zimbu.vim64460644editdlrm
zsh.vim251700644editdlrm
Edit: /usr/share/vim/vim82/syntax/mp.vim (44530B)
" Vim syntax file " Language: MetaPost " Maintainer: Nicola Vitacolonna " Former Maintainers: Andreas Scherer " Last Change: 2016 Oct 14 if exists("b:current_syntax") finish endif let s:cpo_sav = &cpo set cpo&vim if exists("g:plain_mf_macros") let s:plain_mf_macros = g:plain_mf_macros endif if exists("g:plain_mf_modes") let s:plain_mf_modes = g:plain_mf_modes endif if exists("g:other_mf_macros") let s:other_mf_macros = g:other_mf_macros endif let g:plain_mf_macros = 0 " plain.mf has no special meaning for MetaPost let g:plain_mf_modes = 0 " No METAFONT modes let g:other_mf_macros = 0 " cmbase.mf, logo.mf, ... neither " Read the METAFONT syntax to start with runtime! syntax/mf.vim unlet b:current_syntax " Necessary for syn include below " Restore the value of existing global variables if exists("s:plain_mf_macros") let g:plain_mf_macros = s:plain_mf_macros else unlet g:plain_mf_macros endif if exists("s:plain_mf_modes") let g:plain_mf_modes = s:plain_mf_modes else unlet g:plain_mf_modes endif if exists("s:other_mf_macros") let g:other_mf_macros = s:other_mf_macros else unlet g:other_mf_macros endif " Use TeX highlighting inside verbatimtex/btex... etex syn include @MPTeX syntax/tex.vim unlet b:current_syntax " These are defined as keywords rather than using matchgroup " in order to make them available to syntaxcomplete. syn keyword mpTeXdelim btex etex verbatimtex contained syn region mpTeXinsert \ start=/\\|\/rs=e+1 \ end=/\/re=s-1 keepend \ contains=@MPTeX,mpTeXdelim " iskeyword must be set after the syn include above, because tex.vim sets `syn " iskeyword`. Note that keywords do not contain numbers (numbers are " subscripts) syntax iskeyword @,_ " MetaPost primitives not found in METAFONT syn keyword mpBoolExp bounded clipped filled stroked textual arclength syn keyword mpNumExp arctime blackpart bluepart colormodel cyanpart syn keyword mpNumExp fontsize greenpart greypart magentapart redpart syn keyword mpPairExp yellowpart llcorner lrcorner ulcorner urcorner " envelope is seemingly undocumented, but it exists since mpost 1.003. " The syntax is: envelope of . For example, " path p; " p := envelope pensquare of (up--left); " (Thanks to Daniel H. Luecking for the example!) syn keyword mpPathExp envelope pathpart syn keyword mpPenExp penpart syn keyword mpPicExp dashpart glyph infont syn keyword mpStringExp fontpart readfrom textpart syn keyword mpType cmykcolor color rgbcolor " Other MetaPost primitives listed in the manual syn keyword mpPrimitive mpxbreak within " Internal quantities not found in METAFONT " (Table 6 in MetaPost: A User's Manual) syn keyword mpInternal defaultcolormodel hour minute linecap linejoin syn keyword mpInternal miterlimit mpprocset mpversion numberprecision syn keyword mpInternal numbersystem outputfilename outputformat syn keyword mpInternal outputformatoptions outputtemplate prologues syn keyword mpInternal restoreclipcolor tracinglostchars troffmode syn keyword mpInternal truecorners " List of commands not found in METAFONT (from MetaPost: A User's Manual) syn keyword mpCommand clip closefrom dashed filenametemplate fontmapfile syn keyword mpCommand fontmapline setbounds withcmykcolor withcolor syn keyword mpCommand withgreyscale withoutcolor withpostscript syn keyword mpCommand withprescript withrgbcolor write " METAFONT internal variables not found in MetaPost syn keyword notDefined autorounding chardx chardy fillin granularity syn keyword notDefined proofing smoothing tracingedges tracingpens syn keyword notDefined turningcheck xoffset yoffset " Suffix defined only in METAFONT: syn keyword notDefined nodot " Other not implemented primitives (see MetaPost: A User's Manual, §C.1) syn keyword notDefined cull display openwindow numspecial totalweight syn keyword notDefined withweight " Keywords defined by plain.mp if get(g:, "plain_mp_macros", 1) || get(g:, "mp_metafun_macros", 0) syn keyword mpDef beginfig clear_pen_memory clearit clearpen clearpen syn keyword mpDef clearxy colorpart cutdraw downto draw drawarrow syn keyword mpDef drawdblarrow drawdot drawoptions endfig erase syn keyword mpDef exitunless fill filldraw flex gobble hide interact syn keyword mpDef label loggingall makelabel numtok penstroke pickup syn keyword mpDef range reflectedabout rotatedaround shipit syn keyword mpDef stop superellipse takepower tracingall tracingnone syn keyword mpDef undraw undrawdot unfill unfilldraw upto syn match mpDef "???" syn keyword mpVardef arrowhead bbox bot buildcycle byte ceiling center syn keyword mpVardef counterclockwise decr dir direction directionpoint syn keyword mpVardef dotlabel dotlabels image incr interpath inverse syn keyword mpVardef labels lft magstep max min penlabels penpos round syn keyword mpVardef rt savepen solve tensepath thelabel top unitvector syn keyword mpVardef whatever z syn keyword mpPrimaryDef div dotprod gobbled mod syn keyword mpSecondaryDef intersectionpoint syn keyword mpTertiaryDef cutafter cutbefore softjoin thru syn keyword mpNewInternal ahangle ahlength bboxmargin beveled butt defaultpen syn keyword mpNewInternal defaultscale dotlabeldiam eps epsilon infinity syn keyword mpNewInternal join_radius labeloffset mitered pen_bot pen_lft syn keyword mpNewInternal pen_rt pen_top rounded squared tolerance " Predefined constants syn keyword mpConstant EOF background base_name base_version black syn keyword mpConstant blankpicture blue ditto down evenly fullcircle syn keyword mpConstant green halfcircle identity left origin penrazor syn keyword mpConstant penspeck pensquare quartercircle red right syn keyword mpConstant unitsquare up white withdots " Other predefined variables syn keyword mpVariable currentpen currentpen_path currentpicture cuttings syn keyword mpVariable defaultfont extra_beginfig extra_endfig syn match mpVariable /\<\%(laboff\|labxf\|labyf\)\>/ syn match mpVariable /\<\%(laboff\|labxf\|labyf\)\.\%(lft\|rt\|bot\|top\|ulft\|urt\|llft\|lrt\)\>/ " let statements: syn keyword mpnumExp abs syn keyword mpDef rotatedabout syn keyword mpCommand bye relax " on and off are not technically keywords, but it is nice to highlight them " inside dashpattern(). syn keyword mpOnOff off on contained syn keyword mpDash dashpattern contained syn region mpDashPattern \ start="dashpattern\s*" \ end=")"he=e-1 \ contains=mfNumeric,mfLength,mpOnOff,mpDash endif " Keywords defined by mfplain.mp if get(g:, "mfplain_mp_macros", 0) syn keyword mpDef beginchar capsule_def change_width syn keyword mpDef define_blacker_pixels define_corrected_pixels syn keyword mpDef define_good_x_pixels define_good_y_pixels syn keyword mpDef define_horizontal_corrected_pixels define_pixels syn keyword mpDef define_whole_blacker_pixels define_whole_pixels syn keyword mpDef define_whole_vertical_blacker_pixels syn keyword mpDef define_whole_vertical_pixels endchar syn keyword mpDef font_coding_scheme font_extra_space font_identifier syn keyword mpDef font_normal_shrink font_normal_space syn keyword mpDef font_normal_stretch font_quad font_size font_slant syn keyword mpDef font_x_height italcorr labelfont lowres_fix makebox syn keyword mpDef makegrid maketicks mode_def mode_setup proofrule syn keyword mpDef smode syn keyword mpVardef hround proofrulethickness vround syn keyword mpNewInternal blacker o_correction syn keyword mpVariable extra_beginchar extra_endchar extra_setup rulepen " plus some no-ops, also from mfplain.mp syn keyword mpDef cull cullit gfcorners imagerules nodisplays syn keyword mpDef notransforms openit proofoffset screenchars syn keyword mpDef screenrule screenstrokes showit syn keyword mpVardef grayfont slantfont titlefont syn keyword mpVariable currenttransform syn keyword mpConstant unitpixel " These are not listed in the MetaPost manual, and some are ignored by " MetaPost, but are nonetheless defined in mfplain.mp syn keyword mpDef killtext syn match mpVardef "\" syn keyword mpVariable aspect_ratio localfont mag mode mode_name syn keyword mpVariable proofcolor syn keyword mpConstant lowres proof smoke syn keyword mpNewInternal autorounding bp_per_pixel granularity syn keyword mpNewInternal number_of_modes proofing smoothing turningcheck endif " Keywords defined by all base macro packages: " - (r)boxes.mp " - format.mp " - graph.mp " - marith.mp " - sarith.mp " - string.mp " - TEX.mp if get(g:, "other_mp_macros", 1) " boxes and rboxes syn keyword mpDef boxjoin drawboxed drawboxes drawunboxed syn keyword mpNewInternal circmargin defaultdx defaultdy rbox_radius syn keyword mpVardef boxit bpath circleit fixpos fixsize generic_declare syn keyword mpVardef generic_redeclare generisize pic rboxit str_prefix " format syn keyword mpVardef Mformat format init_numbers roundd syn keyword mpVariable Fe_base Fe_plus syn keyword mpConstant Ten_to " graph syn keyword mpDef Gfor Gxyscale OUT auto begingraph endgraph gdata syn keyword mpDef gdraw gdrawarrow gdrawdblarrow gfill plot syn keyword mpVardef augment autogrid frame gdotlabel glabel grid itick syn keyword mpVardef otick syn keyword mpVardef Mreadpath setcoords setrange syn keyword mpNewInternal Gmarks Gminlog Gpaths linear log syn keyword mpVariable Autoform Gemarks Glmarks Gumarks syn keyword mpConstant Gtemplate syn match mpVariable /Gmargin\.\%(low\|high\)/ " marith syn keyword mpVardef Mabs Meform Mexp Mexp_str Mlog Mlog_Str Mlog_str syn keyword mpPrimaryDef Mdiv Mmul syn keyword mpSecondaryDef Madd Msub syn keyword mpTertiaryDef Mleq syn keyword mpNewInternal Mten Mzero " sarith syn keyword mpVardef Sabs Scvnum syn keyword mpPrimaryDef Sdiv Smul syn keyword mpSecondaryDef Sadd Ssub syn keyword mpTertiaryDef Sleq Sneq " string syn keyword mpVardef cspan isdigit loptok " TEX syn keyword mpVardef TEX TEXPOST TEXPRE endif " Up to date as of 23-Sep-2016. if get(b:, 'mp_metafun_macros', get(g:, 'mp_metafun_macros', 0)) " Highlight TeX keywords (for use in ConTeXt documents) syn match mpTeXKeyword '\\[a-zA-Z@]\+' " These keywords have been added manually. syn keyword mpPrimitive runscript " The following MetaFun keywords have been extracted automatically from " ConTeXt source code. They include all "public" macros (where a macro is " considered public if and only if it does not start with _, mfun_, mlib_, or " do_, and it does not end with _), all "public" unsaved variables, and all " `let` statements. " mp-abck.mpiv syn keyword mpDef abck_grid_line anchor_box box_found boxfilloptions syn keyword mpDef boxgridoptions boxlineoptions draw_multi_pars syn keyword mpDef draw_multi_side draw_multi_side_path freeze_box syn keyword mpDef initialize_box initialize_box_pos syn keyword mpDef multi_side_draw_options show_multi_kind syn keyword mpDef show_multi_pars syn keyword mpVardef abck_baseline_grid abck_draw_path abck_graphic_grid syn keyword mpVariable boxdashtype boxfilloffset boxfilltype syn keyword mpVariable boxgriddirection boxgriddistance boxgridshift syn keyword mpVariable boxgridtype boxgridwidth boxlineoffset syn keyword mpVariable boxlineradius boxlinetype boxlinewidth multikind syn keyword mpConstant context_abck " mp-apos.mpiv syn keyword mpDef anch_sidebars_draw boxfilloptions boxlineoptions syn keyword mpDef connect_positions syn keyword mpConstant context_apos " mp-asnc.mpiv syn keyword mpDef FlushSyncTasks ProcessSyncTask ResetSyncTasks syn keyword mpDef SetSyncColor SetSyncThreshold SyncTask syn keyword mpVardef PrepareSyncTasks SyncBox TheSyncColor syn keyword mpVardef TheSyncThreshold syn keyword mpVariable CurrentSyncClass NOfSyncPaths SyncColor syn keyword mpVariable SyncLeftOffset SyncPaths SyncTasks SyncThreshold syn keyword mpVariable SyncThresholdMethod SyncWidth syn keyword mpConstant context_asnc " mp-back.mpiv syn keyword mpDef some_double_back some_hash syn keyword mpVariable back_nillcolor syn keyword mpConstant context_back " mp-bare.mpiv syn keyword mpVardef colordecimals rawtextext syn keyword mpPrimaryDef infont syn keyword mpConstant context_bare " mp-base.mpiv " This is essentially plain.mp with only a few keywords added syn keyword mpNumExp graypart syn keyword mpType graycolor greycolor syn keyword mpConstant cyan magenta yellow " mp-butt.mpiv syn keyword mpDef predefinedbutton some_button syn keyword mpConstant context_butt " mp-char.mpiv syn keyword mpDef flow_begin_chart flow_begin_sub_chart syn keyword mpDef flow_chart_draw_comment flow_chart_draw_exit syn keyword mpDef flow_chart_draw_label flow_chart_draw_text syn keyword mpDef flow_clip_chart flow_collapse_points syn keyword mpDef flow_connect_bottom_bottom flow_connect_bottom_left syn keyword mpDef flow_connect_bottom_right flow_connect_bottom_top syn keyword mpDef flow_connect_left_bottom flow_connect_left_left syn keyword mpDef flow_connect_left_right flow_connect_left_top syn keyword mpDef flow_connect_right_bottom flow_connect_right_left syn keyword mpDef flow_connect_right_right flow_connect_right_top syn keyword mpDef flow_connect_top_bottom flow_connect_top_left syn keyword mpDef flow_connect_top_right flow_connect_top_top syn keyword mpDef flow_draw_connection flow_draw_connection_point syn keyword mpDef flow_draw_midpoint flow_draw_shape syn keyword mpDef flow_draw_test_area flow_draw_test_shape syn keyword mpDef flow_draw_test_shapes flow_end_chart syn keyword mpDef flow_end_sub_chart flow_flush_connections syn keyword mpDef flow_flush_picture flow_flush_pictures syn keyword mpDef flow_flush_shape flow_flush_shapes syn keyword mpDef flow_initialize_grid flow_new_chart flow_new_shape syn keyword mpDef flow_scaled_to_grid flow_show_connection syn keyword mpDef flow_show_connections flow_show_shapes syn keyword mpDef flow_xy_offset flow_y_pos syn keyword mpVardef flow_connection_path flow_down_on_grid syn keyword mpVardef flow_down_to_grid flow_i_point flow_left_on_grid syn keyword mpVardef flow_left_to_grid flow_offset syn keyword mpVardef flow_points_initialized flow_right_on_grid syn keyword mpVardef flow_right_to_grid flow_smooth_connection syn keyword mpVardef flow_trim_points flow_trimmed flow_up_on_grid syn keyword mpVardef flow_up_to_grid flow_valid_connection syn keyword mpVardef flow_x_on_grid flow_xy_bottom flow_xy_left syn keyword mpVardef flow_xy_on_grid flow_xy_right flow_xy_top syn keyword mpVardef flow_y_on_grid syn keyword mpVariable flow_arrowtip flow_chart_background_color syn keyword mpVariable flow_chart_offset flow_comment_offset syn keyword mpVariable flow_connection_arrow_size syn keyword mpVariable flow_connection_dash_size syn keyword mpVariable flow_connection_line_color syn keyword mpVariable flow_connection_line_width syn keyword mpVariable flow_connection_smooth_size flow_connections syn keyword mpVariable flow_cpath flow_dash_pattern flow_dashline syn keyword mpVariable flow_exit_offset flow_forcevalid flow_grid_height syn keyword mpVariable flow_grid_width flow_label_offset flow_max_x syn keyword mpVariable flow_max_y flow_peepshape flow_reverse_connection syn keyword mpVariable flow_reverse_y flow_shape_action flow_shape_archive syn keyword mpVariable flow_shape_decision flow_shape_down syn keyword mpVariable flow_shape_fill_color flow_shape_height syn keyword mpVariable flow_shape_left flow_shape_line_color syn keyword mpVariable flow_shape_line_width flow_shape_loop syn keyword mpVariable flow_shape_multidocument flow_shape_node syn keyword mpVariable flow_shape_procedure flow_shape_product syn keyword mpVariable flow_shape_right flow_shape_singledocument syn keyword mpVariable flow_shape_subprocedure flow_shape_up syn keyword mpVariable flow_shape_wait flow_shape_width syn keyword mpVariable flow_show_all_points flow_show_con_points syn keyword mpVariable flow_show_mid_points flow_showcrossing flow_smooth syn keyword mpVariable flow_touchshape flow_xypoint flow_zfactor syn keyword mpConstant context_flow " mp-chem.mpiv syn keyword mpDef chem_init_all chem_reset chem_start_structure syn keyword mpDef chem_transformed syn keyword mpVardef chem_ad chem_adj chem_align chem_arrow chem_au syn keyword mpVardef chem_b chem_bb chem_bd chem_bw chem_c chem_cc syn keyword mpVardef chem_ccd chem_cd chem_crz chem_cz chem_dash chem_db syn keyword mpVardef chem_diff chem_dir chem_do chem_dr chem_draw syn keyword mpVardef chem_drawarrow chem_eb chem_ed chem_ep chem_er syn keyword mpVardef chem_es chem_et chem_fill chem_hb chem_init_some syn keyword mpVardef chem_label chem_ldb chem_ldd chem_line chem_lr syn keyword mpVardef chem_lrb chem_lrbd chem_lrd chem_lrh chem_lrn syn keyword mpVardef chem_lrt chem_lrz chem_lsr chem_lsub chem_mark syn keyword mpVardef chem_marked chem_mid chem_mids chem_midz chem_mir syn keyword mpVardef chem_mov chem_move chem_number chem_oe chem_off syn keyword mpVardef chem_pb chem_pe chem_r chem_r_fragment chem_rb syn keyword mpVardef chem_rbd chem_rd chem_rdb chem_rdd chem_restore syn keyword mpVardef chem_rh chem_rm chem_rn chem_rot chem_rr chem_rrb syn keyword mpVardef chem_rrbd chem_rrd chem_rrh chem_rrn chem_rrt syn keyword mpVardef chem_rrz chem_rsr chem_rsub chem_rt chem_rz chem_s syn keyword mpVardef chem_save chem_sb chem_sd chem_set chem_sr chem_ss syn keyword mpVardef chem_start_component chem_stop_component syn keyword mpVardef chem_stop_structure chem_sub chem_symbol chem_tb syn keyword mpVardef chem_text chem_z chem_zln chem_zlt chem_zn chem_zrn syn keyword mpVardef chem_zrt chem_zt syn keyword mpVariable chem_mark_pair chem_stack_mirror chem_stack_origin syn keyword mpVariable chem_stack_p chem_stack_previous syn keyword mpVariable chem_stack_rotation chem_trace_boundingbox syn keyword mpVariable chem_trace_nesting chem_trace_text syn keyword mpConstant context_chem " mp-core.mpiv syn keyword mpDef FlushSyncTasks ProcessSyncTask syn keyword mpDef RegisterLocalTextArea RegisterPlainTextArea syn keyword mpDef RegisterRegionTextArea RegisterTextArea syn keyword mpDef ResetLocalTextArea ResetSyncTasks ResetTextAreas syn keyword mpDef SaveTextAreas SetSyncColor SetSyncThreshold syn keyword mpDef SyncTask anchor_box box_found boxfilloptions syn keyword mpDef boxgridoptions boxlineoptions collapse_multi_pars syn keyword mpDef draw_box draw_multi_pars draw_par freeze_box syn keyword mpDef initialize_area initialize_area_par initialize_box syn keyword mpDef initialize_box_pos initialize_par syn keyword mpDef prepare_multi_pars relocate_multipars save_multipar syn keyword mpDef set_par_line_height show_multi_pars show_par syn keyword mpDef simplify_multi_pars sort_multi_pars syn keyword mpVardef InsideSavedTextArea InsideSomeSavedTextArea syn keyword mpVardef InsideSomeTextArea InsideTextArea PrepareSyncTasks syn keyword mpVardef SyncBox TextAreaH TextAreaW TextAreaWH TextAreaX syn keyword mpVardef TextAreaXY TextAreaY TheSyncColor TheSyncThreshold syn keyword mpVardef baseline_grid graphic_grid multi_par_at_top syn keyword mpVariable CurrentSyncClass NOfSavedTextAreas syn keyword mpVariable NOfSavedTextColumns NOfSyncPaths NOfTextAreas syn keyword mpVariable NOfTextColumns PlainTextArea RegionTextArea syn keyword mpVariable SavedTextColumns SyncColor SyncLeftOffset SyncPaths syn keyword mpVariable SyncTasks SyncThreshold SyncThresholdMethod syn keyword mpVariable SyncWidth TextAreas TextColumns syn keyword mpVariable auto_multi_par_hsize boxdashtype boxfilloffset syn keyword mpVariable boxfilltype boxgriddirection boxgriddistance syn keyword mpVariable boxgridshift boxgridtype boxgridwidth boxlineradius syn keyword mpVariable boxlinetype boxlinewidth check_multi_par_chain syn keyword mpVariable compensate_multi_par_topskip syn keyword mpVariable enable_multi_par_fallback force_multi_par_chain syn keyword mpVariable ignore_multi_par_page last_multi_par_shift lefthang syn keyword mpVariable local_multi_par_area multi_column_first_page_hack syn keyword mpVariable multi_par_pages multiloc multilocs multipar syn keyword mpVariable multipars multiref multirefs nofmultipars syn keyword mpVariable obey_multi_par_hang obey_multi_par_more syn keyword mpVariable one_piece_multi_par par_hang_after par_hang_indent syn keyword mpVariable par_indent par_left_skip par_line_height syn keyword mpVariable par_right_skip par_start_pos par_stop_pos syn keyword mpVariable par_strut_depth par_strut_height ppos righthang syn keyword mpVariable snap_multi_par_tops somehang span_multi_column_pars syn keyword mpVariable use_multi_par_region syn keyword mpConstant context_core syn keyword LET anchor_area anchor_par draw_area " mp-cows.mpiv syn keyword mpConstant context_cows cow " mp-crop.mpiv syn keyword mpDef page_marks_add_color page_marks_add_lines syn keyword mpDef page_marks_add_marking page_marks_add_number syn keyword mpVardef crop_color crop_gray crop_marks_cmyk syn keyword mpVardef crop_marks_cmykrgb crop_marks_gray crop_marks_lines syn keyword mpVariable crop_colors more page syn keyword mpConstant context_crop " mp-figs.mpiv syn keyword mpDef naturalfigure registerfigure syn keyword mpVardef figuredimensions figureheight figuresize syn keyword mpVardef figurewidth syn keyword mpConstant context_figs " mp-fobg.mpiv syn keyword mpDef DrawFoFrame syn keyword mpVardef equalpaths syn keyword mpPrimaryDef inset outset syn keyword mpVariable FoBackground FoBackgroundColor FoFrame FoLineColor syn keyword mpVariable FoLineStyle FoLineWidth FoSplit syn keyword mpConstant FoAll FoBottom FoDash FoDotted FoDouble FoGroove syn keyword mpConstant FoHidden FoInset FoLeft FoMedium FoNoColor FoNone syn keyword mpConstant FoOutset FoRidge FoRight FoSolid FoThick FoThin syn keyword mpConstant FoTop context_fobg " mp-form.mpiv syn keyword mpConstant context_form " mp-func.mpiv syn keyword mpDef constructedfunction constructedpairs syn keyword mpDef constructedpath curvedfunction curvedpairs syn keyword mpDef curvedpath function pathconnectors straightfunction syn keyword mpDef straightpairs straightpath syn keyword mpConstant context_func " mp-grap.mpiv syn keyword mpDef Gfor OUT auto begingraph circles crosses diamonds syn keyword mpDef downtriangles endgraph gdata gdraw gdrawarrow syn keyword mpDef gdrawdblarrow gfill graph_addto syn keyword mpDef graph_addto_currentpicture graph_comma syn keyword mpDef graph_coordinate_multiplication graph_draw syn keyword mpDef graph_draw_label graph_errorbar_text graph_fill syn keyword mpDef graph_generate_exponents syn keyword mpDef graph_generate_label_position syn keyword mpDef graph_generate_numbers graph_label_location syn keyword mpDef graph_scan_mark graph_scan_marks graph_setbounds syn keyword mpDef graph_suffix graph_tick_label syn keyword mpDef graph_with_pen_and_color graph_withlist syn keyword mpDef graph_xyscale lefttriangles makefunctionpath plot syn keyword mpDef plotsymbol points rainbow righttriangles smoothpath syn keyword mpDef squares stars uptriangles witherrorbars syn keyword mpVardef addtopath augment autogrid constant_fit syn keyword mpVardef constant_function det escaped_format exp syn keyword mpVardef exponential_fit exponential_function format syn keyword mpVardef formatted frame functionpath gaussian_fit syn keyword mpVardef gaussian_function gdotlabel glabel graph_Feform syn keyword mpVardef graph_Meform graph_arrowhead_extent graph_bounds syn keyword mpVardef graph_clear_bounds syn keyword mpVardef graph_convert_user_path_to_internal graph_cspan syn keyword mpVardef graph_draw_arrowhead graph_error graph_errorbars syn keyword mpVardef graph_exp graph_factor_and_exponent_to_string syn keyword mpVardef graph_gridline_picture graph_is_null syn keyword mpVardef graph_label_convert_user_to_internal graph_loptok syn keyword mpVardef graph_match_exponents graph_mlog syn keyword mpVardef graph_modified_exponent_ypart graph_pair_adjust syn keyword mpVardef graph_picture_conversion graph_post_draw syn keyword mpVardef graph_read_line graph_readpath graph_remap syn keyword mpVardef graph_scan_path graph_select_exponent_mark syn keyword mpVardef graph_select_mark graph_set_bounds syn keyword mpVardef graph_set_default_bounds graph_shapesize syn keyword mpVardef graph_stash_label graph_tick_mark_spacing syn keyword mpVardef graph_unknown_pair_bbox grid isdigit itick syn keyword mpVardef linear_fit linear_function ln logten lorentzian_fit syn keyword mpVardef lorentzian_function otick polynomial_fit syn keyword mpVardef polynomial_function power_law_fit syn keyword mpVardef power_law_function powten setcoords setrange syn keyword mpVardef sortpath strfmt tick varfmt syn keyword mpNewInternal Mzero doubleinfinity graph_log_minimum syn keyword mpNewInternal graph_minimum_number_of_marks largestmantissa syn keyword mpNewInternal linear lntwo log mlogten singleinfinity syn keyword mpVariable Autoform determinant fit_chi_squared syn keyword mpVariable graph_errorbar_picture graph_exp_marks syn keyword mpVariable graph_frame_pair_a graph_frame_pair_b syn keyword mpVariable graph_lin_marks graph_log_marks graph_modified_bias syn keyword mpVariable graph_modified_higher graph_modified_lower syn keyword mpVariable graph_shape r_s resistance_color resistance_name syn keyword mpConstant context_grap " mp-grid.mpiv syn keyword mpDef hlingrid hloggrid vlingrid vloggrid syn keyword mpVardef hlinlabel hlintext hlogtext linlin linlinpath syn keyword mpVardef linlog linlogpath loglin loglinpath loglog syn keyword mpVardef loglogpath processpath vlinlabel vlintext vlogtext syn keyword mpVariable fmt_initialize fmt_pictures fmt_precision syn keyword mpVariable fmt_separator fmt_zerocheck grid_eps syn keyword mpConstant context_grid " mp-grph.mpiv syn keyword mpDef beginfig begingraphictextfig data_mpo_file syn keyword mpDef data_mpy_file doloadfigure draw endfig syn keyword mpDef endgraphictextfig fill fixedplace graphictext syn keyword mpDef loadfigure new_graphictext normalwithshade number syn keyword mpDef old_graphictext outlinefill protectgraphicmacros syn keyword mpDef resetfig reversefill withdrawcolor withfillcolor syn keyword mpDef withshade syn keyword mpVariable currentgraphictext figureshift syn keyword mpConstant context_grph " mp-idea.mpiv syn keyword mpVardef bcomponent ccomponent gcomponent mcomponent syn keyword mpVardef rcomponent somecolor ycomponent " mp-luas.mpiv syn keyword mpDef luacall message syn keyword mpVardef MP lua lualist syn keyword mpConstant context_luas " mp-mlib.mpiv syn keyword mpDef autoalign bitmapimage circular_shade cmyk comment syn keyword mpDef defineshade eofill eofillup externalfigure figure syn keyword mpDef fillup label linear_shade multitonecolor namedcolor syn keyword mpDef nofill onlayer passarrayvariable passvariable syn keyword mpDef plain_label register resolvedcolor scantokens syn keyword mpDef set_circular_vector set_linear_vector shaded syn keyword mpDef spotcolor startpassingvariable stoppassingvariable syn keyword mpDef thelabel transparent[] usemetafunlabels syn keyword mpDef useplainlabels withcircularshade withlinearshade syn keyword mpDef withmask withproperties withshadecenter syn keyword mpDef withshadecolors withshadedirection withshadedomain syn keyword mpDef withshadefactor withshadefraction withshadeorigin syn keyword mpDef withshaderadius withshadestep withshadetransform syn keyword mpDef withshadevector withtransparency syn keyword mpVardef anchored checkbounds checkedbounds syn keyword mpVardef define_circular_shade define_linear_shade dotlabel syn keyword mpVardef escaped_format fmttext fontsize format formatted syn keyword mpVardef installlabel onetimefmttext onetimetextext syn keyword mpVardef outlinetext plain_thelabel properties rawfmttext syn keyword mpVardef rawtexbox rawtextext rule strfmt strut texbox syn keyword mpVardef textext thefmttext thelabel thetexbox thetextext syn keyword mpVardef tostring transparency_alternative_to_number syn keyword mpVardef validtexbox varfmt verbatim syn keyword mpPrimaryDef asgroup infont normalinfont shadedinto syn keyword mpPrimaryDef shownshadecenter shownshadedirection syn keyword mpPrimaryDef shownshadeorigin shownshadevector withshade syn keyword mpPrimaryDef withshademethod syn keyword mpNewInternal colorburntransparent colordodgetransparent syn keyword mpNewInternal colortransparent darkentransparent syn keyword mpNewInternal differencetransparent exclusiontransparent syn keyword mpNewInternal hardlighttransparent huetransparent syn keyword mpNewInternal lightentransparent luminositytransparent syn keyword mpNewInternal multiplytransparent normaltransparent syn keyword mpNewInternal overlaytransparent saturationtransparent syn keyword mpNewInternal screentransparent shadefactor softlighttransparent syn keyword mpNewInternal textextoffset syn keyword mpType property transparency syn keyword mpVariable currentoutlinetext shadeddown shadedleft syn keyword mpVariable shadedright shadedup shadeoffset trace_shades syn keyword mpConstant context_mlib " mp-page.mpiv syn keyword mpDef BoundCoverAreas BoundPageAreas Enlarged FakeRule syn keyword mpDef FakeWord LoadPageState OverlayBox RuleColor syn keyword mpDef SetAreaVariables SetPageArea SetPageBackPage syn keyword mpDef SetPageCoverPage SetPageField SetPageFrontPage syn keyword mpDef SetPageHsize SetPageHstep SetPageLocation syn keyword mpDef SetPagePage SetPageSpine SetPageVariables syn keyword mpDef SetPageVsize SetPageVstep StartCover StartPage syn keyword mpDef StopCover StopPage SwapPageState innerenlarged syn keyword mpDef llEnlarged lrEnlarged outerenlarged ulEnlarged syn keyword mpDef urEnlarged syn keyword mpVardef BackPageHeight BackPageWidth BackSpace BaseLineSkip syn keyword mpVardef BodyFontSize BottomDistance BottomHeight syn keyword mpVardef BottomSpace CoverHeight CoverWidth CurrentColumn syn keyword mpVardef CurrentHeight CurrentWidth CutSpace EmWidth syn keyword mpVardef ExHeight FooterDistance FooterHeight syn keyword mpVardef FrontPageHeight FrontPageWidth HSize HeaderDistance syn keyword mpVardef HeaderHeight InPageBody InnerEdgeDistance syn keyword mpVardef InnerEdgeWidth InnerMarginDistance InnerMarginWidth syn keyword mpVardef InnerSpaceWidth LastPageNumber LayoutColumnDistance syn keyword mpVardef LayoutColumnWidth LayoutColumns LeftEdgeDistance syn keyword mpVardef LeftEdgeWidth LeftMarginDistance LeftMarginWidth syn keyword mpVardef LineHeight MakeupHeight MakeupWidth NOfColumns syn keyword mpVardef NOfPages OnOddPage OnRightPage OuterEdgeDistance syn keyword mpVardef OuterEdgeWidth OuterMarginDistance OuterMarginWidth syn keyword mpVardef OuterSpaceWidth OverlayDepth OverlayHeight syn keyword mpVardef OverlayLineWidth OverlayOffset OverlayWidth syn keyword mpVardef PageDepth PageFraction PageNumber PageOffset syn keyword mpVardef PaperBleed PaperHeight PaperWidth PrintPaperHeight syn keyword mpVardef PrintPaperWidth RealPageNumber RightEdgeDistance syn keyword mpVardef RightEdgeWidth RightMarginDistance RightMarginWidth syn keyword mpVardef SpineHeight SpineWidth StrutDepth StrutHeight syn keyword mpVardef TextHeight TextWidth TopDistance TopHeight TopSkip syn keyword mpVardef TopSpace VSize defaultcolormodel syn keyword mpVariable Area BackPage CoverPage CurrentLayout Field syn keyword mpVariable FrontPage HorPos Hsize Hstep Location Page syn keyword mpVariable PageStateAvailable RuleDepth RuleDirection syn keyword mpVariable RuleFactor RuleH RuleHeight RuleOffset RuleOption syn keyword mpVariable RuleThickness RuleV RuleWidth Spine VerPos Vsize syn keyword mpVariable Vstep syn keyword mpConstant context_page " mp-shap.mpiv syn keyword mpDef drawline drawshape some_shape syn keyword mpDef start_predefined_shape_definition syn keyword mpDef stop_predefined_shape_definition syn keyword mpVardef drawpredefinedline drawpredefinedshape syn keyword mpVardef some_shape_path syn keyword mpVariable predefined_shapes predefined_shapes_xradius syn keyword mpVariable predefined_shapes_xxradius syn keyword mpVariable predefined_shapes_yradius syn keyword mpVariable predefined_shapes_yyradius syn keyword mpConstant context_shap " mp-step.mpiv syn keyword mpDef initialize_step_variables midbottomboundary syn keyword mpDef midtopboundary step_begin_cell step_begin_chart syn keyword mpDef step_cell_ali step_cell_bot step_cell_top syn keyword mpDef step_cells step_end_cell step_end_chart syn keyword mpDef step_text_bot step_text_mid step_text_top syn keyword mpDef step_texts syn keyword mpVariable cell_distance_x cell_distance_y cell_fill_color syn keyword mpVariable cell_line_color cell_line_width cell_offset syn keyword mpVariable chart_align chart_category chart_vertical syn keyword mpVariable line_distance line_height line_line_color syn keyword mpVariable line_line_width line_offset nofcells syn keyword mpVariable text_distance_set text_fill_color text_line_color syn keyword mpVariable text_line_width text_offset syn keyword mpConstant context_cell " mp-symb.mpiv syn keyword mpDef finishglyph prepareglyph syn keyword mpConstant lefttriangle midbar onebar righttriangle sidebar syn keyword mpConstant sublefttriangle subrighttriangle twobar " mp-text.mpiv syn keyword mpDef build_parshape syn keyword mpVardef found_point syn keyword mpVariable trace_parshape syn keyword mpConstant context_text " mp-tool.mpiv syn keyword mpCommand dump syn keyword mpDef addbackground b_color beginglyph break centerarrow syn keyword mpDef clearxy condition data_mpd_file detaileddraw syn keyword mpDef detailpaths dowithpath draw drawboundary syn keyword mpDef drawboundingbox drawcontrollines drawcontrolpoints syn keyword mpDef drawfill draworigin drawpath drawpathonly syn keyword mpDef drawpathwithpoints drawpoint drawpointlabels syn keyword mpDef drawpoints drawticks drawwholepath drawxticks syn keyword mpDef drawyticks endglyph fill finishsavingdata g_color syn keyword mpDef inner_boundingbox job_name leftarrow loadmodule syn keyword mpDef midarrowhead naturalizepaths newboolean newcolor syn keyword mpDef newnumeric newpair newpath newpicture newstring syn keyword mpDef newtransform normalcolors normaldraw normalfill syn keyword mpDef normalwithcolor outer_boundingbox pop_boundingbox syn keyword mpDef popboundingbox popcurrentpicture push_boundingbox syn keyword mpDef pushboundingbox pushcurrentpicture r_color readfile syn keyword mpDef recolor redraw refill register_dirty_chars syn keyword mpDef remapcolor remapcolors remappedcolor reprocess syn keyword mpDef resetarrows resetcolormap resetdrawoptions syn keyword mpDef resolvedcolor restroke retext rightarrow savedata syn keyword mpDef saveoptions scale_currentpicture set_ahlength syn keyword mpDef set_grid showgrid startplaincompatibility syn keyword mpDef startsavingdata stopplaincompatibility syn keyword mpDef stopsavingdata stripe_path_a stripe_path_n undashed syn keyword mpDef undrawfill untext visualizeddraw visualizedfill syn keyword mpDef visualizepaths withcolor withgray syn keyword mpDef xscale_currentpicture xshifted syn keyword mpDef xyscale_currentpicture yscale_currentpicture syn keyword mpDef yshifted syn keyword mpVardef acos acosh anglebetween area arrowhead syn keyword mpVardef arrowheadonpath arrowpath asciistring asin asinh syn keyword mpVardef atan basiccolors bbheight bbwidth bcomponent syn keyword mpVardef blackcolor bottomboundary boundingbox c_phantom syn keyword mpVardef ccomponent center cleanstring colorcircle syn keyword mpVardef colordecimals colordecimalslist colorlike colorpart syn keyword mpVardef colortype complementary complemented copylist cos syn keyword mpVardef cosh cot cotd curved ddddecimal dddecimal ddecimal syn keyword mpVardef decorated drawarrowpath epsed exp freedotlabel syn keyword mpVardef freelabel gcomponent getunstringed grayed greyed syn keyword mpVardef hsvtorgb infinite innerboundingbox interpolated inv syn keyword mpVardef invcos inverted invsin invtan laddered leftboundary syn keyword mpVardef leftpath leftrightpath listsize listtocurves syn keyword mpVardef listtolines ln log mcomponent new_on_grid syn keyword mpVardef outerboundingbox paired pen_size penpoint phantom syn keyword mpVardef pointarrow pow punked rangepath rcomponent syn keyword mpVardef redecorated repathed rightboundary rightpath syn keyword mpVardef rotation roundedsquare set_inner_boundingbox syn keyword mpVardef set_outer_boundingbox setunstringed shapedlist syn keyword mpVardef simplified sin sinh sortlist sqr straightpath tan syn keyword mpVardef tand tanh tensecircle thefreelabel topboundary syn keyword mpVardef tripled undecorated unitvector unspiked unstringed syn keyword mpVardef whitecolor ycomponent syn keyword mpPrimaryDef along blownup bottomenlarged cornered crossed syn keyword mpPrimaryDef enlarged enlonged leftenlarged llenlarged llmoved syn keyword mpPrimaryDef lrenlarged lrmoved on paralleled randomized syn keyword mpPrimaryDef randomizedcontrols randomshifted rightenlarged syn keyword mpPrimaryDef shortened sized smoothed snapped softened squeezed syn keyword mpPrimaryDef stretched superellipsed topenlarged ulenlarged syn keyword mpPrimaryDef ulmoved uncolored urenlarged urmoved xsized syn keyword mpPrimaryDef xstretched xyscaled xysized ysized ystretched zmod syn keyword mpSecondaryDef anglestriped intersection_point numberstriped syn keyword mpSecondaryDef peepholed syn keyword mpTertiaryDef cutends syn keyword mpNewInternal ahdimple ahvariant anglelength anglemethod syn keyword mpNewInternal angleoffset charscale cmykcolormodel graycolormodel syn keyword mpNewInternal greycolormodel maxdimensions metapostversion syn keyword mpNewInternal nocolormodel rgbcolormodel striped_normal_inner syn keyword mpNewInternal striped_normal_outer striped_reverse_inner syn keyword mpNewInternal striped_reverse_outer syn keyword mpType grayscale greyscale quadruplet triplet syn keyword mpVariable ahfactor collapse_data color_map drawoptionsfactor syn keyword mpVariable freedotlabelsize freelabeloffset grid grid_full syn keyword mpVariable grid_h grid_left grid_nx grid_ny grid_w grid_x syn keyword mpVariable grid_y intersection_found originlength syn keyword mpVariable plain_compatibility_data pointlabelfont syn keyword mpVariable pointlabelscale refillbackground savingdata syn keyword mpVariable savingdatadone swappointlabels ticklength tickstep syn keyword mpConstant CRLF DQUOTE PERCENT SPACE bcircle context_tool crlf syn keyword mpConstant darkblue darkcyan darkgray darkgreen darkmagenta syn keyword mpConstant darkred darkyellow downtriangle dquote freesquare syn keyword mpConstant fulldiamond fullsquare fulltriangle lcircle syn keyword mpConstant lefttriangle lightgray llcircle lltriangle lrcircle syn keyword mpConstant lrtriangle mpversion nocolor noline oddly syn keyword mpConstant originpath percent rcircle righttriangle space syn keyword mpConstant tcircle triangle ulcircle ultriangle unitcircle syn keyword mpConstant unitdiamond unittriangle uptriangle urcircle syn keyword mpConstant urtriangle endif " MetaFun macros " Define the default highlighting hi def link mpTeXdelim mpPrimitive hi def link mpBoolExp mfBoolExp hi def link mpNumExp mfNumExp hi def link mpPairExp mfPairExp hi def link mpPathExp mfPathExp hi def link mpPenExp mfPenExp hi def link mpPicExp mfPicExp hi def link mpStringExp mfStringExp hi def link mpInternal mfInternal hi def link mpCommand mfCommand hi def link mpType mfType hi def link mpPrimitive mfPrimitive hi def link mpDef mfDef hi def link mpVardef mpDef hi def link mpPrimaryDef mpDef hi def link mpSecondaryDef mpDef hi def link mpTertiaryDef mpDef hi def link mpNewInternal mpInternal hi def link mpVariable mfVariable hi def link mpConstant mfConstant hi def link mpOnOff mpPrimitive hi def link mpDash mpPrimitive hi def link mpTeXKeyword Identifier let b:current_syntax = "mp" let &cpo = s:cpo_sav unlet! s:cpo_sav " vim:sw=2