/
usr
/
share
/
vim
/
vim82
/
syntax
/
/usr/share/vim/vim82/syntax
mkdir
upload
Name
Size
Mode
Actions
2html.vim
75420
0644
edit
dl
rm
8th.vim
36219
0644
edit
dl
rm
a2ps.vim
2426
0644
edit
dl
rm
a65.vim
6394
0644
edit
dl
rm
aap.vim
5697
0644
edit
dl
rm
abap.vim
9155
0644
edit
dl
rm
abaqus.vim
1094
0644
edit
dl
rm
abc.vim
1842
0644
edit
dl
rm
abel.vim
5113
0644
edit
dl
rm
acedb.vim
4871
0644
edit
dl
rm
ada.vim
13051
0644
edit
dl
rm
aflex.vim
4368
0644
edit
dl
rm
ahdl.vim
2770
0644
edit
dl
rm
aidl.vim
629
0644
edit
dl
rm
alsaconf.vim
1546
0644
edit
dl
rm
amiga.vim
2969
0644
edit
dl
rm
aml.vim
24137
0644
edit
dl
rm
ampl.vim
4108
0644
edit
dl
rm
ant.vim
5816
0644
edit
dl
rm
antlr.vim
1793
0644
edit
dl
rm
apache.vim
15374
0644
edit
dl
rm
apachestyle.vim
1417
0644
edit
dl
rm
aptconf.vim
22441
0644
edit
dl
rm
arch.vim
1149
0644
edit
dl
rm
arduino.vim
3974
0644
edit
dl
rm
art.vim
1297
0644
edit
dl
rm
asciidoc.vim
11146
0644
edit
dl
rm
asm.vim
6037
0644
edit
dl
rm
asm68k.vim
14280
0644
edit
dl
rm
asmh8300.vim
1718
0644
edit
dl
rm
asn.vim
2578
0644
edit
dl
rm
aspperl.vim
811
0644
edit
dl
rm
aspvbs.vim
9097
0644
edit
dl
rm
asterisk.vim
5629
0644
edit
dl
rm
asteriskvm.vim
2332
0644
edit
dl
rm
atlas.vim
2602
0644
edit
dl
rm
autodoc.vim
3730
0644
edit
dl
rm
autohotkey.vim
11861
0644
edit
dl
rm
autoit.vim
48046
0644
edit
dl
rm
automake.vim
3938
0644
edit
dl
rm
ave.vim
1900
0644
edit
dl
rm
avra.vim
2683
0644
edit
dl
rm
awk.vim
8191
0644
edit
dl
rm
ayacc.vim
2585
0644
edit
dl
rm
b.vim
4902
0644
edit
dl
rm
baan.vim
73595
0644
edit
dl
rm
bash.vim
371
0644
edit
dl
rm
basic.vim
8306
0644
edit
dl
rm
bc.vim
1791
0644
edit
dl
rm
bdf.vim
3841
0644
edit
dl
rm
bib.vim
6004
0644
edit
dl
rm
bindzone.vim
4906
0644
edit
dl
rm
blank.vim
794
0644
edit
dl
rm
bsdl.vim
377
0644
edit
dl
rm
bst.vim
2825
0644
edit
dl
rm
btm.vim
9285
0644
edit
dl
rm
bzl.vim
374
0644
edit
dl
rm
bzr.vim
1560
0644
edit
dl
rm
c.vim
27746
0644
edit
dl
rm
cabal.vim
7363
0644
edit
dl
rm
cabalconfig.vim
1179
0644
edit
dl
rm
cabalproject.vim
944
0644
edit
dl
rm
calendar.vim
5042
0644
edit
dl
rm
catalog.vim
921
0644
edit
dl
rm
cdl.vim
3092
0644
edit
dl
rm
cdrdaoconf.vim
3647
0644
edit
dl
rm
cdrtoc.vim
22756
0644
edit
dl
rm
cf.vim
18644
0644
edit
dl
rm
cfg.vim
1350
0644
edit
dl
rm
ch.vim
922
0644
edit
dl
rm
chaiscript.vim
2887
0644
edit
dl
rm
change.vim
901
0644
edit
dl
rm
changelog.vim
2097
0644
edit
dl
rm
chaskell.vim
333
0644
edit
dl
rm
cheetah.vim
1752
0644
edit
dl
rm
chicken.vim
3257
0644
edit
dl
rm
chill.vim
8024
0644
edit
dl
rm
chordpro.vim
2521
0644
edit
dl
rm
cl.vim
3905
0644
edit
dl
rm
clean.vim
3151
0644
edit
dl
rm
clipper.vim
5576
0644
edit
dl
rm
clojure.vim
47093
0644
edit
dl
rm
cmake.vim
42148
0644
edit
dl
rm
cmod.vim
6271
0644
edit
dl
rm
cmusrc.vim
12921
0644
edit
dl
rm
cobol.vim
13592
0644
edit
dl
rm
coco.vim
1300
0644
edit
dl
rm
colortest.vim
3201
0644
edit
dl
rm
conaryrecipe.vim
8036
0644
edit
dl
rm
conf.vim
813
0644
edit
dl
rm
config.vim
2074
0644
edit
dl
rm
context.vim
6199
0644
edit
dl
rm
cpp.vim
5973
0644
edit
dl
rm
crm.vim
1197
0644
edit
dl
rm
crontab.vim
2215
0644
edit
dl
rm
cs.vim
10947
0644
edit
dl
rm
csc.vim
8451
0644
edit
dl
rm
csdl.vim
23755
0644
edit
dl
rm
csh.vim
6460
0644
edit
dl
rm
csp.vim
7152
0644
edit
dl
rm
css.vim
33656
0644
edit
dl
rm
cterm.vim
6406
0644
edit
dl
rm
ctrlh.vim
688
0644
edit
dl
rm
cucumber.vim
31887
0644
edit
dl
rm
cuda.vim
2691
0644
edit
dl
rm
cupl.vim
3872
0644
edit
dl
rm
cuplsim.vim
1916
0644
edit
dl
rm
cvs.vim
882
0644
edit
dl
rm
cvsrc.vim
1254
0644
edit
dl
rm
cweb.vim
2892
0644
edit
dl
rm
cynlib.vim
2548
0644
edit
dl
rm
cynpp.vim
1263
0644
edit
dl
rm
d.vim
28631
0644
edit
dl
rm
dart.vim
3292
0644
edit
dl
rm
datascript.vim
3807
0644
edit
dl
rm
dcd.vim
1803
0644
edit
dl
rm
dcl.vim
6383
0644
edit
dl
rm
debchangelog.vim
3529
0644
edit
dl
rm
debcontrol.vim
8776
0644
edit
dl
rm
debcopyright.vim
1137
0644
edit
dl
rm
debsources.vim
2310
0644
edit
dl
rm
def.vim
1097
0644
edit
dl
rm
denyhosts.vim
7365
0644
edit
dl
rm
dep3patch.vim
3005
0644
edit
dl
rm
desc.vim
3077
0644
edit
dl
rm
desktop.vim
9348
0644
edit
dl
rm
dictconf.vim
3118
0644
edit
dl
rm
dictdconf.vim
6465
0644
edit
dl
rm
diff.vim
17420
0644
edit
dl
rm
dircolors.vim
6946
0644
edit
dl
rm
dirpager.vim
1787
0644
edit
dl
rm
diva.vim
4736
0644
edit
dl
rm
django.vim
4015
0644
edit
dl
rm
dns.vim
132
0644
edit
dl
rm
dnsmasq.vim
10067
0644
edit
dl
rm
docbk.vim
10321
0644
edit
dl
rm
docbksgml.vim
193
0644
edit
dl
rm
docbkxml.vim
191
0644
edit
dl
rm
dockerfile.vim
2474
0644
edit
dl
rm
dosbatch.vim
6261
0644
edit
dl
rm
dosini.vim
1266
0644
edit
dl
rm
dot.vim
4493
0644
edit
dl
rm
doxygen.vim
38922
0644
edit
dl
rm
dracula.vim
2668
0644
edit
dl
rm
dsl.vim
1312
0644
edit
dl
rm
dtd.vim
4990
0644
edit
dl
rm
dtml.vim
16613
0644
edit
dl
rm
dtrace.vim
6442
0644
edit
dl
rm
dts.vim
5141
0644
edit
dl
rm
dune.vim
1949
0644
edit
dl
rm
dylan.vim
3414
0644
edit
dl
rm
dylanintr.vim
1078
0644
edit
dl
rm
dylanlid.vim
664
0644
edit
dl
rm
ecd.vim
1229
0644
edit
dl
rm
edif.vim
1278
0644
edit
dl
rm
eiffel.vim
6926
0644
edit
dl
rm
elf.vim
2349
0644
edit
dl
rm
elinks.vim
10494
0644
edit
dl
rm
elm.vim
3651
0644
edit
dl
rm
elmfilt.vim
2893
0644
edit
dl
rm
erlang.vim
11134
0644
edit
dl
rm
eruby.vim
3299
0644
edit
dl
rm
esmtprc.vim
938
0644
edit
dl
rm
esqlc.vim
2094
0644
edit
dl
rm
esterel.vim
3053
0644
edit
dl
rm
eterm.vim
19172
0644
edit
dl
rm
euphoria3.vim
6103
0644
edit
dl
rm
euphoria4.vim
14537
0644
edit
dl
rm
eviews.vim
5004
0644
edit
dl
rm
exim.vim
18085
0644
edit
dl
rm
expect.vim
3734
0644
edit
dl
rm
exports.vim
1748
0644
edit
dl
rm
falcon.vim
12013
0644
edit
dl
rm
fan.vim
5445
0644
edit
dl
rm
fasm.vim
8757
0644
edit
dl
rm
fdcc.vim
5648
0644
edit
dl
rm
fetchmail.vim
3308
0644
edit
dl
rm
fgl.vim
7274
0644
edit
dl
rm
flexwiki.vim
5435
0644
edit
dl
rm
focexec.vim
3527
0644
edit
dl
rm
form.vim
6385
0644
edit
dl
rm
forth.vim
10669
0644
edit
dl
rm
fortran.vim
33382
0644
edit
dl
rm
foxpro.vim
32856
0644
edit
dl
rm
fpcmake.vim
2044
0644
edit
dl
rm
framescript.vim
11679
0644
edit
dl
rm
freebasic.vim
10835
0644
edit
dl
rm
fstab.vim
15879
0644
edit
dl
rm
fvwm.vim
25026
0644
edit
dl
rm
fvwm2m4.vim
711
0644
edit
dl
rm
gdb.vim
4414
0644
edit
dl
rm
gdmo.vim
3299
0644
edit
dl
rm
gedcom.vim
2275
0644
edit
dl
rm
gemtext.vim
682
0644
edit
dl
rm
gift.vim
10239
0644
edit
dl
rm
git.vim
4297
0644
edit
dl
rm
gitcommit.vim
5083
0644
edit
dl
rm
gitconfig.vim
1596
0644
edit
dl
rm
gitolite.vim
4454
0644
edit
dl
rm
gitrebase.vim
2950
0644
edit
dl
rm
gitsendemail.vim
580
0644
edit
dl
rm
gkrellmrc.vim
4116
0644
edit
dl
rm
gnash.vim
3462
0644
edit
dl
rm
gnuplot.vim
23825
0644
edit
dl
rm
go.vim
19825
0644
edit
dl
rm
godoc.vim
352
0644
edit
dl
rm
gp.vim
2965
0644
edit
dl
rm
gpg.vim
5591
0644
edit
dl
rm
gprof.vim
2136
0644
edit
dl
rm
grads.vim
1742
0644
edit
dl
rm
gretl.vim
3730
0644
edit
dl
rm
groff.vim
321
0644
edit
dl
rm
groovy.vim
22484
0644
edit
dl
rm
group.vim
1719
0644
edit
dl
rm
grub.vim
3888
0644
edit
dl
rm
gsp.vim
2031
0644
edit
dl
rm
gtkrc.vim
9318
0644
edit
dl
rm
gvpr.vim
3378
0644
edit
dl
rm
haml.vim
7071
0644
edit
dl
rm
hamster.vim
13840
0644
edit
dl
rm
haskell.vim
9242
0644
edit
dl
rm
haste.vim
4994
0644
edit
dl
rm
hastepreproc.vim
1422
0644
edit
dl
rm
hb.vim
3158
0644
edit
dl
rm
help.vim
8423
0644
edit
dl
rm
help_ru.vim
3521
0644
edit
dl
rm
hercules.vim
5720
0644
edit
dl
rm
hex.vim
4011
0644
edit
dl
rm
hgcommit.vim
1114
0644
edit
dl
rm
hitest.vim
3643
0644
edit
dl
rm
hog.vim
12112
0644
edit
dl
rm
hollywood.vim
48531
0644
edit
dl
rm
hostconf.vim
3870
0644
edit
dl
rm
hostsaccess.vim
549
0644
edit
dl
rm
html.vim
18544
0644
edit
dl
rm
htmlcheetah.vim
488
0644
edit
dl
rm
htmldjango.vim
1011
0644
edit
dl
rm
htmlm4.vim
670
0644
edit
dl
rm
htmlos.vim
8313
0644
edit
dl
rm
i3config.vim
15886
0644
edit
dl
rm
ia64.vim
10472
0644
edit
dl
rm
ibasic.vim
7036
0644
edit
dl
rm
icemenu.vim
824
0644
edit
dl
rm
icon.vim
6976
0644
edit
dl
rm
idl.vim
19901
0644
edit
dl
rm
idlang.vim
13462
0644
edit
dl
rm
indent.vim
7197
0644
edit
dl
rm
inform.vim
19483
0644
edit
dl
rm
initex.vim
19224
0644
edit
dl
rm
initng.vim
3399
0644
edit
dl
rm
inittab.vim
2541
0644
edit
dl
rm
ipfilter.vim
1622
0644
edit
dl
rm
ishd.vim
27057
0644
edit
dl
rm
iss.vim
5031
0644
edit
dl
rm
ist.vim
2000
0644
edit
dl
rm
j.vim
9441
0644
edit
dl
rm
jal.vim
8963
0644
edit
dl
rm
jam.vim
26711
0644
edit
dl
rm
jargon.vim
740
0644
edit
dl
rm
java.vim
18581
0644
edit
dl
rm
javacc.vim
2256
0644
edit
dl
rm
javascript.vim
5677
0644
edit
dl
rm
javascriptreact.vim
133
0644
edit
dl
rm
jess.vim
6230
0644
edit
dl
rm
jgraph.vim
1212
0644
edit
dl
rm
jovial.vim
4107
0644
edit
dl
rm
jproperties.vim
5496
0644
edit
dl
rm
json.vim
6255
0644
edit
dl
rm
jsonc.vim
1733
0644
edit
dl
rm
jsp.vim
2678
0644
edit
dl
rm
julia.vim
37907
0644
edit
dl
rm
kconfig.vim
36304
0644
edit
dl
rm
kivy.vim
986
0644
edit
dl
rm
kix.vim
6329
0644
edit
dl
rm
kscript.vim
1985
0644
edit
dl
rm
kwt.vim
2454
0644
edit
dl
rm
lace.vim
4075
0644
edit
dl
rm
latte.vim
3511
0644
edit
dl
rm
ld.vim
2914
0644
edit
dl
rm
ldapconf.vim
13302
0644
edit
dl
rm
ldif.vim
1014
0644
edit
dl
rm
less.vim
4195
0644
edit
dl
rm
lex.vim
8651
0644
edit
dl
rm
lftp.vim
7471
0644
edit
dl
rm
lhaskell.vim
4936
0644
edit
dl
rm
libao.vim
636
0644
edit
dl
rm
lifelines.vim
6640
0644
edit
dl
rm
lilo.vim
10427
0644
edit
dl
rm
limits.vim
1317
0644
edit
dl
rm
liquid.vim
6184
0644
edit
dl
rm
lisp.vim
36027
0644
edit
dl
rm
lite.vim
4845
0644
edit
dl
rm
litestep.vim
6676
0644
edit
dl
rm
loginaccess.vim
4197
0644
edit
dl
rm
logindefs.vim
7537
0644
edit
dl
rm
logtalk.vim
16849
0644
edit
dl
rm
lotos.vim
2361
0644
edit
dl
rm
lout.vim
4326
0644
edit
dl
rm
lpc.vim
23138
0644
edit
dl
rm
lprolog.vim
3979
0644
edit
dl
rm
lscript.vim
12099
0644
edit
dl
rm
lsl.vim
15800
0644
edit
dl
rm
lss.vim
4870
0644
edit
dl
rm
lua.vim
14052
0644
edit
dl
rm
lynx.vim
6579
0644
edit
dl
rm
m3build.vim
5777
0644
edit
dl
rm
m3quake.vim
2634
0644
edit
dl
rm
m4.vim
2693
0644
edit
dl
rm
mail.vim
6069
0644
edit
dl
rm
mailaliases.vim
2767
0644
edit
dl
rm
mailcap.vim
1135
0644
edit
dl
rm
make.vim
6199
0644
edit
dl
rm
mallard.vim
1726
0644
edit
dl
rm
man.vim
1680
0644
edit
dl
rm
manconf.vim
4344
0644
edit
dl
rm
manual.vim
909
0644
edit
dl
rm
maple.vim
28570
0644
edit
dl
rm
markdown.vim
9126
0644
edit
dl
rm
masm.vim
17245
0644
edit
dl
rm
mason.vim
3818
0644
edit
dl
rm
master.vim
1022
0644
edit
dl
rm
matlab.vim
4316
0644
edit
dl
rm
maxima.vim
18802
0644
edit
dl
rm
mel.vim
3406
0644
edit
dl
rm
meson.vim
3976
0644
edit
dl
rm
messages.vim
2715
0644
edit
dl
rm
mf.vim
15423
0644
edit
dl
rm
mgl.vim
3724
0644
edit
dl
rm
mgp.vim
2000
0644
edit
dl
rm
mib.vim
2696
0644
edit
dl
rm
mix.vim
2942
0644
edit
dl
rm
mma.vim
11801
0644
edit
dl
rm
mmix.vim
4969
0644
edit
dl
rm
mmp.vim
1486
0644
edit
dl
rm
modconf.vim
1419
0644
edit
dl
rm
model.vim
1469
0644
edit
dl
rm
modsim3.vim
3623
0644
edit
dl
rm
modula2.vim
3225
0644
edit
dl
rm
modula3.vim
3083
0644
edit
dl
rm
monk.vim
10219
0644
edit
dl
rm
moo.vim
9234
0644
edit
dl
rm
mp.vim
44530
0644
edit
dl
rm
mplayerconf.vim
7487
0644
edit
dl
rm
mrxvtrc.vim
9603
0644
edit
dl
rm
msidl.vim
3464
0644
edit
dl
rm
msmessages.vim
6318
0644
edit
dl
rm
msql.vim
2390
0644
edit
dl
rm
mupad.vim
15476
0644
edit
dl
rm
murphi.vim
4579
0644
edit
dl
rm
mush.vim
13187
0644
edit
dl
rm
muttrc.vim
65812
0644
edit
dl
rm
mysql.vim
17609
0644
edit
dl
rm
n1ql.vim
12899
0644
edit
dl
rm
named.vim
10005
0644
edit
dl
rm
nanorc.vim
10620
0644
edit
dl
rm
nasm.vim
26417
0644
edit
dl
rm
nastran.vim
8504
0644
edit
dl
rm
natural.vim
6977
0644
edit
dl
rm
ncf.vim
13416
0644
edit
dl
rm
neomuttrc.vim
65537
0644
edit
dl
rm
netrc.vim
1934
0644
edit
dl
rm
netrw.vim
7202
0644
edit
dl
rm
nginx.vim
116745
0644
edit
dl
rm
ninja.vim
2889
0644
edit
dl
rm
nosyntax.vim
755
0644
edit
dl
rm
nqc.vim
14068
0644
edit
dl
rm
nroff.vim
7789
0644
edit
dl
rm
nsis.vim
36123
0644
edit
dl
rm
obj.vim
2786
0644
edit
dl
rm
objc.vim
41765
0644
edit
dl
rm
objcpp.vim
600
0644
edit
dl
rm
ocaml.vim
16953
0644
edit
dl
rm
occam.vim
4316
0644
edit
dl
rm
omnimark.vim
6377
0644
edit
dl
rm
opam.vim
1403
0644
edit
dl
rm
openroad.vim
13979
0644
edit
dl
rm
opl.vim
4128
0644
edit
dl
rm
ora.vim
27141
0644
edit
dl
rm
pamconf.vim
5952
0644
edit
dl
rm
pamenv.vim
1135
0644
edit
dl
rm
papp.vim
3789
0644
edit
dl
rm
pascal.vim
15984
0644
edit
dl
rm
passwd.vim
2443
0644
edit
dl
rm
pbtxt.vim
1373
0644
edit
dl
rm
pcap.vim
1496
0644
edit
dl
rm
pccts.vim
4093
0644
edit
dl
rm
pdf.vim
3539
0644
edit
dl
rm
perl.vim
38473
0644
edit
dl
rm
pf.vim
10371
0644
edit
dl
rm
pfmain.vim
92737
0644
edit
dl
rm
php.vim
114566
0644
edit
dl
rm
phtml.vim
151
0644
edit
dl
rm
pic.vim
3333
0644
edit
dl
rm
pike.vim
21807
0644
edit
dl
rm
pilrc.vim
5311
0644
edit
dl
rm
pine.vim
15411
0644
edit
dl
rm
pinfo.vim
5296
0644
edit
dl
rm
plaintex.vim
10301
0644
edit
dl
rm
pli.vim
13222
0644
edit
dl
rm
plm.vim
5361
0644
edit
dl
rm
plp.vim
1267
0644
edit
dl
rm
plsql.vim
12918
0644
edit
dl
rm
po.vim
6393
0644
edit
dl
rm
pod.vim
7283
0644
edit
dl
rm
poke.vim
5189
0644
edit
dl
rm
postscr.vim
46136
0644
edit
dl
rm
pov.vim
9057
0644
edit
dl
rm
povini.vim
3488
0644
edit
dl
rm
ppd.vim
868
0644
edit
dl
rm
ppwiz.vim
2780
0644
edit
dl
rm
prescribe.vim
2383
0644
edit
dl
rm
privoxy.vim
3579
0644
edit
dl
rm
procmail.vim
2019
0644
edit
dl
rm
progress.vim
31748
0644
edit
dl
rm
prolog.vim
4494
0644
edit
dl
rm
promela.vim
1728
0644
edit
dl
rm
proto.vim
3543
0644
edit
dl
rm
protocols.vim
1429
0644
edit
dl
rm
ps1.vim
7509
0644
edit
dl
rm
ps1xml.vim
1276
0644
edit
dl
rm
psf.vim
4290
0644
edit
dl
rm
psl.vim
2528
0644
edit
dl
rm
ptcap.vim
4128
0644
edit
dl
rm
purifylog.vim
3357
0644
edit
dl
rm
pyrex.vim
1663
0644
edit
dl
rm
python.vim
13144
0644
edit
dl
rm
qf.vim
596
0644
edit
dl
rm
quake.vim
8554
0644
edit
dl
rm
r.vim
15684
0644
edit
dl
rm
racc.vim
5619
0644
edit
dl
rm
radiance.vim
7155
0644
edit
dl
rm
raku.vim
75661
0644
edit
dl
rm
raml.vim
4450
0644
edit
dl
rm
ratpoison.vim
18030
0644
edit
dl
rm
rc.vim
10217
0644
edit
dl
rm
rcs.vim
2133
0644
edit
dl
rm
rcslog.vim
557
0644
edit
dl
rm
readline.vim
17487
0644
edit
dl
rm
rebol.vim
7167
0644
edit
dl
rm
redif.vim
87941
0644
edit
dl
rm
registry.vim
3355
0644
edit
dl
rm
rego.vim
3832
0644
edit
dl
rm
remind.vim
2713
0644
edit
dl
rm
resolv.vim
6361
0644
edit
dl
rm
reva.vim
7583
0644
edit
dl
rm
rexx.vim
15331
0644
edit
dl
rm
rhelp.vim
12134
0644
edit
dl
rm
rib.vim
2192
0644
edit
dl
rm
rmd.vim
6274
0644
edit
dl
rm
rnc.vim
2263
0644
edit
dl
rm
rng.vim
817
0644
edit
dl
rm
rnoweb.vim
1915
0644
edit
dl
rm
robots.vim
1530
0644
edit
dl
rm
routeros.vim
3362
0644
edit
dl
rm
rpcgen.vim
1667
0644
edit
dl
rm
rpl.vim
25700
0644
edit
dl
rm
rrst.vim
1306
0644
edit
dl
rm
rst.vim
11779
0644
edit
dl
rm
rtf.vim
2331
0644
edit
dl
rm
ruby.vim
41085
0644
edit
dl
rm
rust.vim
16612
0644
edit
dl
rm
samba.vim
6131
0644
edit
dl
rm
sas.vim
34087
0644
edit
dl
rm
sass.vim
6263
0644
edit
dl
rm
sather.vim
3490
0644
edit
dl
rm
sbt.vim
880
0644
edit
dl
rm
scala.vim
11450
0644
edit
dl
rm
scdoc.vim
1881
0644
edit
dl
rm
scheme.vim
19439
0644
edit
dl
rm
scilab.vim
3210
0644
edit
dl
rm
screen.vim
9104
0644
edit
dl
rm
scss.vim
526
0644
edit
dl
rm
sd.vim
2223
0644
edit
dl
rm
sdc.vim
1391
0644
edit
dl
rm
sdl.vim
6563
0644
edit
dl
rm
sed.vim
5033
0644
edit
dl
rm
sendpr.vim
905
0644
edit
dl
rm
sensors.vim
1513
0644
edit
dl
rm
services.vim
1823
0644
edit
dl
rm
setserial.vim
5229
0644
edit
dl
rm
sexplib.vim
3685
0644
edit
dl
rm
sgml.vim
8871
0644
edit
dl
rm
sgmldecl.vim
2041
0644
edit
dl
rm
sgmllnx.vim
1851
0644
edit
dl
rm
sh.vim
44383
0644
edit
dl
rm
sicad.vim
18475
0644
edit
dl
rm
sieve.vim
1671
0644
edit
dl
rm
sil.vim
8541
0644
edit
dl
rm
simula.vim
3371
0644
edit
dl
rm
sinda.vim
3666
0644
edit
dl
rm
sindacmp.vim
1274
0644
edit
dl
rm
sindaout.vim
1961
0644
edit
dl
rm
sisu.vim
22180
0644
edit
dl
rm
skill.vim
25769
0644
edit
dl
rm
sl.vim
4084
0644
edit
dl
rm
slang.vim
3302
0644
edit
dl
rm
slice.vim
2928
0644
edit
dl
rm
slpconf.vim
11791
0644
edit
dl
rm
slpreg.vim
5346
0644
edit
dl
rm
slpspi.vim
1181
0644
edit
dl
rm
slrnrc.vim
12811
0644
edit
dl
rm
slrnsc.vim
3098
0644
edit
dl
rm
sm.vim
2851
0644
edit
dl
rm
smarty.vim
2883
0644
edit
dl
rm
smcl.vim
12043
0644
edit
dl
rm
smil.vim
5616
0644
edit
dl
rm
smith.vim
793
0644
edit
dl
rm
sml.vim
9463
0644
edit
dl
rm
snnsnet.vim
2482
0644
edit
dl
rm
snnspat.vim
2228
0644
edit
dl
rm
snnsres.vim
1933
0644
edit
dl
rm
snobol4.vim
5334
0644
edit
dl
rm
spec.vim
12708
0644
edit
dl
rm
specman.vim
7345
0644
edit
dl
rm
spice.vim
2243
0644
edit
dl
rm
splint.vim
15786
0644
edit
dl
rm
spup.vim
13927
0644
edit
dl
rm
spyce.vim
4455
0644
edit
dl
rm
sql.vim
1120
0644
edit
dl
rm
sqlanywhere.vim
41929
0644
edit
dl
rm
sqlforms.vim
6734
0644
edit
dl
rm
sqlhana.vim
11027
0644
edit
dl
rm
sqlinformix.vim
5901
0644
edit
dl
rm
sqlj.vim
2970
0644
edit
dl
rm
sqloracle.vim
7649
0644
edit
dl
rm
sqr.vim
13012
0644
edit
dl
rm
squid.vim
6931
0644
edit
dl
rm
squirrel.vim
1469
0644
edit
dl
rm
srec.vim
3815
0644
edit
dl
rm
sshconfig.vim
11746
0644
edit
dl
rm
sshdconfig.vim
13184
0644
edit
dl
rm
st.vim
2754
0644
edit
dl
rm
stata.vim
27056
0644
edit
dl
rm
stp.vim
5427
0644
edit
dl
rm
strace.vim
1970
0644
edit
dl
rm
structurizr.vim
2099
0644
edit
dl
rm
sudoers.vim
24532
0644
edit
dl
rm
svg.vim
436
0644
edit
dl
rm
svn.vim
1852
0644
edit
dl
rm
swift.vim
8828
0644
edit
dl
rm
swiftgyb.vim
822
0644
edit
dl
rm
syncolor.vim
4139
0644
edit
dl
rm
synload.vim
2034
0644
edit
dl
rm
syntax.vim
1228
0644
edit
dl
rm
sysctl.vim
1153
0644
edit
dl
rm
systemd.vim
184
0644
edit
dl
rm
systemverilog.vim
3539
0644
edit
dl
rm
tads.vim
6862
0644
edit
dl
rm
tags.vim
1156
0644
edit
dl
rm
tak.vim
2920
0644
edit
dl
rm
takcmp.vim
1593
0644
edit
dl
rm
takout.vim
2000
0644
edit
dl
rm
tap.vim
4362
0644
edit
dl
rm
tar.vim
373
0644
edit
dl
rm
taskdata.vim
1207
0644
edit
dl
rm
taskedit.vim
1130
0644
edit
dl
rm
tasm.vim
5691
0644
edit
dl
rm
tcl.vim
17274
0644
edit
dl
rm
tcsh.vim
13676
0644
edit
dl
rm
template.vim
449
0644
edit
dl
rm
teraterm.vim
4980
0644
edit
dl
rm
terminfo.vim
4803
0644
edit
dl
rm
tex.vim
65043
0644
edit
dl
rm
texinfo.vim
1584
0644
edit
dl
rm
texmf.vim
2281
0644
edit
dl
rm
tf.vim
6904
0644
edit
dl
rm
tidy.vim
13559
0644
edit
dl
rm
tilde.vim
1539
0644
edit
dl
rm
tli.vim
1658
0644
edit
dl
rm
tmux.vim
6359
0644
edit
dl
rm
toml.vim
3093
0644
edit
dl
rm
tpp.vim
3413
0644
edit
dl
rm
trasys.vim
5033
0644
edit
dl
rm
treetop.vim
3668
0644
edit
dl
rm
trustees.vim
1546
0644
edit
dl
rm
tsalt.vim
8325
0644
edit
dl
rm
tsscl.vim
5120
0644
edit
dl
rm
tssgm.vim
2787
0644
edit
dl
rm
tssop.vim
1785
0644
edit
dl
rm
tt2.vim
7923
0644
edit
dl
rm
tt2html.vim
516
0644
edit
dl
rm
tt2js.vim
522
0644
edit
dl
rm
typescript.vim
1423
0644
edit
dl
rm
typescriptcommon.vim
134462
0644
edit
dl
rm
typescriptreact.vim
3924
0644
edit
dl
rm
uc.vim
6634
0644
edit
dl
rm
udevconf.vim
1227
0644
edit
dl
rm
udevperm.vim
2409
0644
edit
dl
rm
udevrules.vim
6960
0644
edit
dl
rm
uil.vim
2821
0644
edit
dl
rm
updatedb.vim
1220
0644
edit
dl
rm
upstart.vim
3165
0644
edit
dl
rm
upstreamdat.vim
14048
0644
edit
dl
rm
upstreaminstalllog.vim
971
0644
edit
dl
rm
upstreamlog.vim
2620
0644
edit
dl
rm
upstreamrpt.vim
14197
0644
edit
dl
rm
usserverlog.vim
3118
0644
edit
dl
rm
usw2kagtlog.vim
2702
0644
edit
dl
rm
valgrind.vim
3216
0644
edit
dl
rm
vb.vim
21122
0644
edit
dl
rm
vera.vim
19552
0644
edit
dl
rm
verilog.vim
5055
0644
edit
dl
rm
verilogams.vim
6083
0644
edit
dl
rm
vgrindefs.vim
1214
0644
edit
dl
rm
vhdl.vim
9658
0644
edit
dl
rm
vim.vim
75960
0644
edit
dl
rm
viminfo.vim
1241
0644
edit
dl
rm
virata.vim
11613
0644
edit
dl
rm
vmasm.vim
8512
0644
edit
dl
rm
voscm.vim
6975
0644
edit
dl
rm
vrml.vim
12788
0644
edit
dl
rm
vroom.vim
3492
0644
edit
dl
rm
vsejcl.vim
1004
0644
edit
dl
rm
vue.vim
433
0644
edit
dl
rm
wast.vim
3926
0644
edit
dl
rm
wdiff.vim
716
0644
edit
dl
rm
web.vim
1114
0644
edit
dl
rm
webmacro.vim
3130
0644
edit
dl
rm
wget.vim
3961
0644
edit
dl
rm
whitespace.vim
357
0644
edit
dl
rm
winbatch.vim
12152
0644
edit
dl
rm
wml.vim
5731
0644
edit
dl
rm
wsh.vim
1242
0644
edit
dl
rm
wsml.vim
5400
0644
edit
dl
rm
wvdial.vim
1093
0644
edit
dl
rm
xbl.vim
568
0644
edit
dl
rm
xdefaults.vim
5887
0644
edit
dl
rm
xf86conf.vim
14725
0644
edit
dl
rm
xhtml.vim
186
0644
edit
dl
rm
xinetd.vim
14208
0644
edit
dl
rm
xkb.vim
3313
0644
edit
dl
rm
xmath.vim
10831
0644
edit
dl
rm
xml.vim
9339
0644
edit
dl
rm
xmodmap.vim
46511
0644
edit
dl
rm
xpm.vim
4488
0644
edit
dl
rm
xpm2.vim
4697
0644
edit
dl
rm
xquery.vim
7191
0644
edit
dl
rm
xs.vim
246745
0644
edit
dl
rm
xsd.vim
2125
0644
edit
dl
rm
xslt.vim
2654
0644
edit
dl
rm
xxd.vim
767
0644
edit
dl
rm
yacc.vim
5656
0644
edit
dl
rm
yaml.vim
12874
0644
edit
dl
rm
z8a.vim
2894
0644
edit
dl
rm
zimbu.vim
6446
0644
edit
dl
rm
zsh.vim
13392
0644
edit
dl
rm
Edit:
/usr/share/vim/vim82/syntax/c.vim
(27746B)
" Vim syntax file " Language: C " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2021 Dec 07 " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") finish endif let s:cpo_save = &cpo set cpo&vim let s:ft = matchstr(&ft, '^\([^.]\)\+') " check if this was included from cpp.vim let s:in_cpp_family = exists("b:filetype_in_cpp_family") " Optional embedded Autodoc parsing " To enable it add: let g:c_autodoc = 1 " to your .vimrc if exists("c_autodoc") syn include @cAutodoc <sfile>:p:h/autodoc.vim unlet b:current_syntax endif " A bunch of useful C keywords syn keyword cStatement goto break return continue asm syn keyword cLabel case default syn keyword cConditional if else switch syn keyword cRepeat while for do syn keyword cTodo contained TODO FIXME XXX " It's easy to accidentally add a space after a backslash that was intended " for line continuation. Some compilers allow it, which makes it " unpredictable and should be avoided. syn match cBadContinuation contained "\\\s\+$" " cCommentGroup allows adding matches for special things in comments syn cluster cCommentGroup contains=cTodo,cBadContinuation " String and Character constants " Highlight special characters (those which have a backslash) differently syn match cSpecial display contained "\\\(x\x\+\|\o\{1,3}\|.\|$\)" if !exists("c_no_utf") syn match cSpecial display contained "\\\(u\x\{4}\|U\x\{8}\)" endif if !exists("c_no_cformat") " Highlight % items in strings. if !exists("c_no_c99") " ISO C99 syn match cFormat display "%\(\d\+\$\)\=[-+' #0*]*\(\d*\|\*\|\*\d\+\$\)\(\.\(\d*\|\*\|\*\d\+\$\)\)\=\([hlLjzt]\|ll\|hh\)\=\([aAbdiuoxXDOUfFeEgGcCsSpn]\|\[\^\=.[^]]*\]\)" contained else syn match cFormat display "%\(\d\+\$\)\=[-+' #0*]*\(\d*\|\*\|\*\d\+\$\)\(\.\(\d*\|\*\|\*\d\+\$\)\)\=\([hlL]\|ll\)\=\([bdiuoxXDOUfeEgGcCsSpn]\|\[\^\=.[^]]*\]\)" contained endif syn match cFormat display "%%" contained endif " cCppString: same as cString, but ends at end of line if s:in_cpp_family && !exists("cpp_no_cpp11") && !exists("c_no_cformat") " ISO C++11 syn region cString start=+\(L\|u\|u8\|U\|R\|LR\|u8R\|uR\|UR\)\="+ skip=+\\\\\|\\"+ end=+"+ contains=cSpecial,cFormat,@Spell extend syn region cCppString start=+\(L\|u\|u8\|U\|R\|LR\|u8R\|uR\|UR\)\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial,cFormat,@Spell elseif s:ft ==# "c" && !exists("c_no_c11") && !exists("c_no_cformat") " ISO C99 syn region cString start=+\%(L\|U\|u8\)\="+ skip=+\\\\\|\\"+ end=+"+ contains=cSpecial,cFormat,@Spell extend syn region cCppString start=+\%(L\|U\|u8\)\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial,cFormat,@Spell else " older C or C++ syn match cFormat display "%%" contained syn region cString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=cSpecial,cFormat,@Spell extend syn region cCppString start=+L\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial,cFormat,@Spell endif syn region cCppSkip contained start="^\s*\(%:\|#\)\s*\(if\>\|ifdef\>\|ifndef\>\)" skip="\\$" end="^\s*\(%:\|#\)\s*endif\>" contains=cSpaceError,cCppSkip syn cluster cStringGroup contains=cCppString,cCppSkip syn match cCharacter "L\='[^\\]'" syn match cCharacter "L'[^']*'" contains=cSpecial if exists("c_gnu") syn match cSpecialError "L\='\\[^'\"?\\abefnrtv]'" syn match cSpecialCharacter "L\='\\['\"?\\abefnrtv]'" else syn match cSpecialError "L\='\\[^'\"?\\abfnrtv]'" syn match cSpecialCharacter "L\='\\['\"?\\abfnrtv]'" endif syn match cSpecialCharacter display "L\='\\\o\{1,3}'" syn match cSpecialCharacter display "'\\x\x\{1,2}'" syn match cSpecialCharacter display "L'\\x\x\+'" if (s:ft ==# "c" && !exists("c_no_c11")) || (s:in_cpp_family && !exists("cpp_no_cpp11")) " ISO C11 or ISO C++ 11 if exists("c_no_cformat") syn region cString start=+\%(U\|u8\=\)"+ skip=+\\\\\|\\"+ end=+"+ contains=cSpecial,@Spell extend else syn region cString start=+\%(U\|u8\=\)"+ skip=+\\\\\|\\"+ end=+"+ contains=cSpecial,cFormat,@Spell extend endif syn match cCharacter "[Uu]'[^\\]'" syn match cCharacter "[Uu]'[^']*'" contains=cSpecial if exists("c_gnu") syn match cSpecialError "[Uu]'\\[^'\"?\\abefnrtv]'" syn match cSpecialCharacter "[Uu]'\\['\"?\\abefnrtv]'" else syn match cSpecialError "[Uu]'\\[^'\"?\\abfnrtv]'" syn match cSpecialCharacter "[Uu]'\\['\"?\\abfnrtv]'" endif syn match cSpecialCharacter display "[Uu]'\\\o\{1,3}'" syn match cSpecialCharacter display "[Uu]'\\x\x\+'" endif "when wanted, highlight trailing white space if exists("c_space_errors") if !exists("c_no_trail_space_error") syn match cSpaceError display excludenl "\s\+$" endif if !exists("c_no_tab_space_error") syn match cSpaceError display " \+\t"me=e-1 endif endif " This should be before cErrInParen to avoid problems with #define ({ xxx }) if exists("c_curly_error") syn match cCurlyError "}" syn region cBlock start="{" end="}" contains=ALLBUT,cBadBlock,cCurlyError,@cParenGroup,cErrInParen,cCppParen,cErrInBracket,cCppBracket,@cStringGroup,@Spell fold else syn region cBlock start="{" end="}" transparent fold endif " Catch errors caused by wrong parenthesis and brackets. " Also accept <% for {, %> for }, <: for [ and :> for ] (C99) " But avoid matching <::. syn cluster cParenGroup contains=cParenError,cIncluded,cSpecial,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cUserLabel,cBitField,cOctalZero,@cCppOutInGroup,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom if exists("c_no_curly_error") if s:in_cpp_family && !exists("cpp_no_cpp11") syn region cParen transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,@cStringGroup,@Spell " cCppParen: same as cParen but ends at end-of-line; used in cDefine syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cParen,cString,@Spell syn match cParenError display ")" syn match cErrInParen display contained "^^<%\|^%>" else syn region cParen transparent start='(' end=')' contains=ALLBUT,cBlock,@cParenGroup,cCppParen,@cStringGroup,@Spell " cCppParen: same as cParen but ends at end-of-line; used in cDefine syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cParen,cString,@Spell syn match cParenError display ")" syn match cErrInParen display contained "^[{}]\|^<%\|^%>" endif elseif exists("c_no_bracket_error") if s:in_cpp_family && !exists("cpp_no_cpp11") syn region cParen transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,@cStringGroup,@Spell " cCppParen: same as cParen but ends at end-of-line; used in cDefine syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cParen,cString,@Spell syn match cParenError display ")" syn match cErrInParen display contained "<%\|%>" else syn region cParen transparent start='(' end=')' end='}'me=s-1 contains=ALLBUT,cBlock,@cParenGroup,cCppParen,@cStringGroup,@Spell " cCppParen: same as cParen but ends at end-of-line; used in cDefine syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cParen,cString,@Spell syn match cParenError display ")" syn match cErrInParen display contained "[{}]\|<%\|%>" endif else if s:in_cpp_family && !exists("cpp_no_cpp11") syn region cParen transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,cErrInBracket,cCppBracket,@cStringGroup,@Spell " cCppParen: same as cParen but ends at end-of-line; used in cDefine syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cErrInBracket,cParen,cBracket,cString,@Spell syn match cParenError display "[\])]" syn match cErrInParen display contained "<%\|%>" syn region cBracket transparent start='\[\|<::\@!' end=']\|:>' contains=ALLBUT,@cParenGroup,cErrInParen,cCppParen,cCppBracket,@cStringGroup,@Spell else syn region cParen transparent start='(' end=')' end='}'me=s-1 contains=ALLBUT,cBlock,@cParenGroup,cCppParen,cErrInBracket,cCppBracket,@cStringGroup,@Spell " cCppParen: same as cParen but ends at end-of-line; used in cDefine syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cErrInBracket,cParen,cBracket,cString,@Spell syn match cParenError display "[\])]" syn match cErrInParen display contained "[\]{}]\|<%\|%>" syn region cBracket transparent start='\[\|<::\@!' end=']\|:>' end='}'me=s-1 contains=ALLBUT,cBlock,@cParenGroup,cErrInParen,cCppParen,cCppBracket,@cStringGroup,@Spell endif " cCppBracket: same as cParen but ends at end-of-line; used in cDefine syn region cCppBracket transparent start='\[\|<::\@!' skip='\\$' excludenl end=']\|:>' end='$' contained contains=ALLBUT,@cParenGroup,cErrInParen,cParen,cBracket,cString,@Spell syn match cErrInBracket display contained "[);{}]\|<%\|%>" endif if s:ft ==# 'c' || exists("cpp_no_cpp11") syn region cBadBlock keepend start="{" end="}" contained containedin=cParen,cBracket,cBadBlock transparent fold endif "integer number, or floating point number without a dot and with "f". syn case ignore syn match cNumbers display transparent "\<\d\|\.\d" contains=cNumber,cFloat,cOctalError,cOctal " Same, but without octal error (for comments) syn match cNumbersCom display contained transparent "\<\d\|\.\d" contains=cNumber,cFloat,cOctal syn match cNumber display contained "\d\+\(u\=l\{0,2}\|ll\=u\)\>" "hex number syn match cNumber display contained "0x\x\+\(u\=l\{0,2}\|ll\=u\)\>" " Flag the first zero of an octal number as something special syn match cOctal display contained "0\o\+\(u\=l\{0,2}\|ll\=u\)\>" contains=cOctalZero syn match cOctalZero display contained "\<0" "floating point number, with dot, optional exponent syn match cFloat display contained "\d\+\.\d*\(e[-+]\=\d\+\)\=[fl]\=" "floating point number, starting with a dot, optional exponent syn match cFloat display contained "\.\d\+\(e[-+]\=\d\+\)\=[fl]\=\>" "floating point number, without dot, with exponent syn match cFloat display contained "\d\+e[-+]\=\d\+[fl]\=\>" if !exists("c_no_c99") "hexadecimal floating point number, optional leading digits, with dot, with exponent syn match cFloat display contained "0x\x*\.\x\+p[-+]\=\d\+[fl]\=\>" "hexadecimal floating point number, with leading digits, optional dot, with exponent syn match cFloat display contained "0x\x\+\.\=p[-+]\=\d\+[fl]\=\>" endif " flag an octal number with wrong digits syn match cOctalError display contained "0\o*[89]\d*" syn case match if exists("c_comment_strings") " A comment can contain cString, cCharacter and cNumber. " But a "*/" inside a cString in a cComment DOES end the comment! So we " need to use a special type of cString: cCommentString, which also ends on " "*/", and sees a "*" at the start of the line as comment again. " Unfortunately this doesn't very well work for // type of comments :-( syn match cCommentSkip contained "^\s*\*\($\|\s\+\)" syn region cCommentString contained start=+L\=\\\@<!"+ skip=+\\\\\|\\"+ end=+"+ end=+\*/+me=s-1 contains=cSpecial,cCommentSkip syn region cComment2String contained start=+L\=\\\@<!"+ skip=+\\\\\|\\"+ end=+"+ end="$" contains=cSpecial syn region cCommentL start="//" skip="\\$" end="$" keepend contains=@cCommentGroup,cComment2String,cCharacter,cNumbersCom,cSpaceError,cWrongComTail,@Spell if exists("c_no_comment_fold") " Use "extend" here to have preprocessor lines not terminate halfway a " comment. syn region cComment matchgroup=cCommentStart start="/\*" end="\*/" contains=@cCommentGroup,cCommentStartError,cCommentString,cCharacter,cNumbersCom,cSpaceError,@Spell extend else syn region cComment matchgroup=cCommentStart start="/\*" end="\*/" contains=@cCommentGroup,cCommentStartError,cCommentString,cCharacter,cNumbersCom,cSpaceError,@Spell fold extend endif else syn region cCommentL start="//" skip="\\$" end="$" keepend contains=@cCommentGroup,cSpaceError,@Spell if exists("c_no_comment_fold") syn region cComment matchgroup=cCommentStart start="/\*" end="\*/" contains=@cCommentGroup,cCommentStartError,cSpaceError,@Spell extend else syn region cComment matchgroup=cCommentStart start="/\*" end="\*/" contains=@cCommentGroup,cCommentStartError,cSpaceError,@Spell fold extend endif endif " keep a // comment separately, it terminates a preproc. conditional syn match cCommentError display "\*/" syn match cCommentStartError display "/\*"me=e-1 contained syn match cWrongComTail display "\*/" syn keyword cOperator sizeof if exists("c_gnu") syn keyword cStatement __asm__ syn keyword cOperator typeof __real__ __imag__ endif syn keyword cType int long short char void syn keyword cType signed unsigned float double if !exists("c_no_ansi") || exists("c_ansi_typedefs") syn keyword cType size_t ssize_t off_t wchar_t ptrdiff_t sig_atomic_t fpos_t syn keyword cType clock_t time_t va_list jmp_buf FILE DIR div_t ldiv_t syn keyword cType mbstate_t wctrans_t wint_t wctype_t endif if !exists("c_no_c99") " ISO C99 syn keyword cType _Bool bool _Complex complex _Imaginary imaginary syn keyword cType int8_t int16_t int32_t int64_t syn keyword cType uint8_t uint16_t uint32_t uint64_t if !exists("c_no_bsd") " These are BSD specific. syn keyword cType u_int8_t u_int16_t u_int32_t u_int64_t endif syn keyword cType int_least8_t int_least16_t int_least32_t int_least64_t syn keyword cType uint_least8_t uint_least16_t uint_least32_t uint_least64_t syn keyword cType int_fast8_t int_fast16_t int_fast32_t int_fast64_t syn keyword cType uint_fast8_t uint_fast16_t uint_fast32_t uint_fast64_t syn keyword cType intptr_t uintptr_t syn keyword cType intmax_t uintmax_t endif if exists("c_gnu") syn keyword cType __label__ __complex__ __volatile__ endif syn keyword cTypedef typedef syn keyword cStructure struct union enum syn keyword cStorageClass static register auto volatile extern const if exists("c_gnu") syn keyword cStorageClass inline __attribute__ endif if !exists("c_no_c99") && !s:in_cpp_family syn keyword cStorageClass inline restrict endif if !exists("c_no_c11") syn keyword cStorageClass _Alignas alignas syn keyword cOperator _Alignof alignof syn keyword cStorageClass _Atomic syn keyword cOperator _Generic syn keyword cStorageClass _Noreturn noreturn syn keyword cOperator _Static_assert static_assert syn keyword cStorageClass _Thread_local thread_local syn keyword cType char16_t char32_t " C11 atomics (take down the shield wall!) syn keyword cType atomic_bool atomic_char atomic_schar atomic_uchar syn keyword Ctype atomic_short atomic_ushort atomic_int atomic_uint syn keyword cType atomic_long atomic_ulong atomic_llong atomic_ullong syn keyword cType atomic_char16_t atomic_char32_t atomic_wchar_t syn keyword cType atomic_int_least8_t atomic_uint_least8_t syn keyword cType atomic_int_least16_t atomic_uint_least16_t syn keyword cType atomic_int_least32_t atomic_uint_least32_t syn keyword cType atomic_int_least64_t atomic_uint_least64_t syn keyword cType atomic_int_fast8_t atomic_uint_fast8_t syn keyword cType atomic_int_fast16_t atomic_uint_fast16_t syn keyword cType atomic_int_fast32_t atomic_uint_fast32_t syn keyword cType atomic_int_fast64_t atomic_uint_fast64_t syn keyword cType atomic_intptr_t atomic_uintptr_t syn keyword cType atomic_size_t atomic_ptrdiff_t syn keyword cType atomic_intmax_t atomic_uintmax_t endif if !exists("c_no_ansi") || exists("c_ansi_constants") || exists("c_gnu") if exists("c_gnu") syn keyword cConstant __GNUC__ __FUNCTION__ __PRETTY_FUNCTION__ __func__ endif syn keyword cConstant __LINE__ __FILE__ __DATE__ __TIME__ __STDC__ __STDC_VERSION__ __STDC_HOSTED__ syn keyword cConstant CHAR_BIT MB_LEN_MAX MB_CUR_MAX syn keyword cConstant UCHAR_MAX UINT_MAX ULONG_MAX USHRT_MAX syn keyword cConstant CHAR_MIN INT_MIN LONG_MIN SHRT_MIN syn keyword cConstant CHAR_MAX INT_MAX LONG_MAX SHRT_MAX syn keyword cConstant SCHAR_MIN SINT_MIN SLONG_MIN SSHRT_MIN syn keyword cConstant SCHAR_MAX SINT_MAX SLONG_MAX SSHRT_MAX if !exists("c_no_c99") syn keyword cConstant __func__ __VA_ARGS__ syn keyword cConstant LLONG_MIN LLONG_MAX ULLONG_MAX syn keyword cConstant INT8_MIN INT16_MIN INT32_MIN INT64_MIN syn keyword cConstant INT8_MAX INT16_MAX INT32_MAX INT64_MAX syn keyword cConstant UINT8_MAX UINT16_MAX UINT32_MAX UINT64_MAX syn keyword cConstant INT_LEAST8_MIN INT_LEAST16_MIN INT_LEAST32_MIN INT_LEAST64_MIN syn keyword cConstant INT_LEAST8_MAX INT_LEAST16_MAX INT_LEAST32_MAX INT_LEAST64_MAX syn keyword cConstant UINT_LEAST8_MAX UINT_LEAST16_MAX UINT_LEAST32_MAX UINT_LEAST64_MAX syn keyword cConstant INT_FAST8_MIN INT_FAST16_MIN INT_FAST32_MIN INT_FAST64_MIN syn keyword cConstant INT_FAST8_MAX INT_FAST16_MAX INT_FAST32_MAX INT_FAST64_MAX syn keyword cConstant UINT_FAST8_MAX UINT_FAST16_MAX UINT_FAST32_MAX UINT_FAST64_MAX syn keyword cConstant INTPTR_MIN INTPTR_MAX UINTPTR_MAX syn keyword cConstant INTMAX_MIN INTMAX_MAX UINTMAX_MAX syn keyword cConstant PTRDIFF_MIN PTRDIFF_MAX SIG_ATOMIC_MIN SIG_ATOMIC_MAX syn keyword cConstant SIZE_MAX WCHAR_MIN WCHAR_MAX WINT_MIN WINT_MAX endif syn keyword cConstant FLT_RADIX FLT_ROUNDS FLT_DIG FLT_MANT_DIG FLT_EPSILON DBL_DIG DBL_MANT_DIG DBL_EPSILON syn keyword cConstant LDBL_DIG LDBL_MANT_DIG LDBL_EPSILON FLT_MIN FLT_MAX FLT_MIN_EXP FLT_MAX_EXP FLT_MIN_10_EXP FLT_MAX_10_EXP syn keyword cConstant DBL_MIN DBL_MAX DBL_MIN_EXP DBL_MAX_EXP DBL_MIN_10_EXP DBL_MAX_10_EXP LDBL_MIN LDBL_MAX LDBL_MIN_EXP LDBL_MAX_EXP syn keyword cConstant LDBL_MIN_10_EXP LDBL_MAX_10_EXP HUGE_VAL CLOCKS_PER_SEC NULL LC_ALL LC_COLLATE LC_CTYPE LC_MONETARY syn keyword cConstant LC_NUMERIC LC_TIME SIG_DFL SIG_ERR SIG_IGN SIGABRT SIGFPE SIGILL SIGHUP SIGINT SIGSEGV SIGTERM " Add POSIX signals as well... syn keyword cConstant SIGABRT SIGALRM SIGCHLD SIGCONT SIGFPE SIGHUP SIGILL SIGINT SIGKILL SIGPIPE SIGQUIT SIGSEGV syn keyword cConstant SIGSTOP SIGTERM SIGTRAP SIGTSTP SIGTTIN SIGTTOU SIGUSR1 SIGUSR2 syn keyword cConstant _IOFBF _IOLBF _IONBF BUFSIZ EOF WEOF FOPEN_MAX FILENAME_MAX L_tmpnam syn keyword cConstant SEEK_CUR SEEK_END SEEK_SET TMP_MAX stderr stdin stdout EXIT_FAILURE EXIT_SUCCESS RAND_MAX " used in assert.h syn keyword cConstant NDEBUG " POSIX 2001 syn keyword cConstant SIGBUS SIGPOLL SIGPROF SIGSYS SIGURG SIGVTALRM SIGXCPU SIGXFSZ " non-POSIX signals syn keyword cConstant SIGWINCH SIGINFO " Add POSIX errors as well. List comes from: " http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html syn keyword cConstant E2BIG EACCES EADDRINUSE EADDRNOTAVAIL EAFNOSUPPORT EAGAIN EALREADY EBADF syn keyword cConstant EBADMSG EBUSY ECANCELED ECHILD ECONNABORTED ECONNREFUSED ECONNRESET EDEADLK syn keyword cConstant EDESTADDRREQ EDOM EDQUOT EEXIST EFAULT EFBIG EHOSTUNREACH EIDRM EILSEQ syn keyword cConstant EINPROGRESS EINTR EINVAL EIO EISCONN EISDIR ELOOP EMFILE EMLINK EMSGSIZE syn keyword cConstant EMULTIHOP ENAMETOOLONG ENETDOWN ENETRESET ENETUNREACH ENFILE ENOBUFS ENODATA syn keyword cConstant ENODEV ENOENT ENOEXEC ENOLCK ENOLINK ENOMEM ENOMSG ENOPROTOOPT ENOSPC ENOSR syn keyword cConstant ENOSTR ENOSYS ENOTBLK ENOTCONN ENOTDIR ENOTEMPTY ENOTRECOVERABLE ENOTSOCK ENOTSUP syn keyword cConstant ENOTTY ENXIO EOPNOTSUPP EOVERFLOW EOWNERDEAD EPERM EPIPE EPROTO syn keyword cConstant EPROTONOSUPPORT EPROTOTYPE ERANGE EROFS ESPIPE ESRCH ESTALE ETIME ETIMEDOUT syn keyword cConstant ETXTBSY EWOULDBLOCK EXDEV " math.h syn keyword cConstant M_E M_LOG2E M_LOG10E M_LN2 M_LN10 M_PI M_PI_2 M_PI_4 syn keyword cConstant M_1_PI M_2_PI M_2_SQRTPI M_SQRT2 M_SQRT1_2 endif if !exists("c_no_c99") " ISO C99 syn keyword cConstant true false endif " Accept %: for # (C99) syn region cPreCondit start="^\s*\zs\(%:\|#\)\s*\(if\|ifdef\|ifndef\|elif\)\>" skip="\\$" end="$" keepend contains=cComment,cCommentL,cCppString,cCharacter,cCppParen,cParenError,cNumbers,cCommentError,cSpaceError syn match cPreConditMatch display "^\s*\zs\(%:\|#\)\s*\(else\|endif\)\>" if !exists("c_no_if0") syn cluster cCppOutInGroup contains=cCppInIf,cCppInElse,cCppInElse2,cCppOutIf,cCppOutIf2,cCppOutElse,cCppInSkip,cCppOutSkip syn region cCppOutWrapper start="^\s*\zs\(%:\|#\)\s*if\s\+0\+\s*\($\|//\|/\*\|&\)" end=".\@=\|$" contains=cCppOutIf,cCppOutElse,@NoSpell fold syn region cCppOutIf contained start="0\+" matchgroup=cCppOutWrapper end="^\s*\(%:\|#\)\s*endif\>" contains=cCppOutIf2,cCppOutElse if !exists("c_no_if0_fold") syn region cCppOutIf2 contained matchgroup=cCppOutWrapper start="0\+" end="^\s*\(%:\|#\)\s*\(else\>\|elif\s\+\(0\+\s*\($\|//\|/\*\|&\)\)\@!\|endif\>\)"me=s-1 contains=cSpaceError,cCppOutSkip,@Spell fold else syn region cCppOutIf2 contained matchgroup=cCppOutWrapper start="0\+" end="^\s*\(%:\|#\)\s*\(else\>\|elif\s\+\(0\+\s*\($\|//\|/\*\|&\)\)\@!\|endif\>\)"me=s-1 contains=cSpaceError,cCppOutSkip,@Spell endif syn region cCppOutElse contained matchgroup=cCppOutWrapper start="^\s*\(%:\|#\)\s*\(else\|elif\)" end="^\s*\(%:\|#\)\s*endif\>"me=s-1 contains=TOP,cPreCondit syn region cCppInWrapper start="^\s*\zs\(%:\|#\)\s*if\s\+0*[1-9]\d*\s*\($\|//\|/\*\||\)" end=".\@=\|$" contains=cCppInIf,cCppInElse fold syn region cCppInIf contained matchgroup=cCppInWrapper start="\d\+" end="^\s*\(%:\|#\)\s*endif\>" contains=TOP,cPreCondit if !exists("c_no_if0_fold") syn region cCppInElse contained start="^\s*\(%:\|#\)\s*\(else\>\|elif\s\+\(0*[1-9]\d*\s*\($\|//\|/\*\||\)\)\@!\)" end=".\@=\|$" containedin=cCppInIf contains=cCppInElse2 fold else syn region cCppInElse contained start="^\s*\(%:\|#\)\s*\(else\>\|elif\s\+\(0*[1-9]\d*\s*\($\|//\|/\*\||\)\)\@!\)" end=".\@=\|$" containedin=cCppInIf contains=cCppInElse2 endif syn region cCppInElse2 contained matchgroup=cCppInWrapper start="^\s*\(%:\|#\)\s*\(else\|elif\)\([^/]\|/[^/*]\)*" end="^\s*\(%:\|#\)\s*endif\>"me=s-1 contains=cSpaceError,cCppOutSkip,@Spell syn region cCppOutSkip contained start="^\s*\(%:\|#\)\s*\(if\>\|ifdef\>\|ifndef\>\)" skip="\\$" end="^\s*\(%:\|#\)\s*endif\>" contains=cSpaceError,cCppOutSkip syn region cCppInSkip contained matchgroup=cCppInWrapper start="^\s*\(%:\|#\)\s*\(if\s\+\(\d\+\s*\($\|//\|/\*\||\|&\)\)\@!\|ifdef\>\|ifndef\>\)" skip="\\$" end="^\s*\(%:\|#\)\s*endif\>" containedin=cCppOutElse,cCppInIf,cCppInSkip contains=TOP,cPreProc endif syn region cIncluded display contained start=+"+ skip=+\\\\\|\\"+ end=+"+ syn match cIncluded display contained "<[^>]*>" syn match cInclude display "^\s*\zs\(%:\|#\)\s*include\>\s*["<]" contains=cIncluded "syn match cLineSkip "\\$" syn cluster cPreProcGroup contains=cPreCondit,cIncluded,cInclude,cDefine,cErrInParen,cErrInBracket,cUserLabel,cSpecial,cOctalZero,cCppOutWrapper,cCppInWrapper,@cCppOutInGroup,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom,cString,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cParen,cBracket,cMulti,cBadBlock syn region cDefine start="^\s*\zs\(%:\|#\)\s*\(define\|undef\)\>" skip="\\$" end="$" keepend contains=ALLBUT,@cPreProcGroup,@Spell syn region cPreProc start="^\s*\zs\(%:\|#\)\s*\(pragma\>\|line\>\|warning\>\|warn\>\|error\>\)" skip="\\$" end="$" keepend contains=ALLBUT,@cPreProcGroup,@Spell " Optional embedded Autodoc parsing if exists("c_autodoc") syn match cAutodocReal display contained "\%(//\|[/ \t\v]\*\|^\*\)\@2<=!.*" contains=@cAutodoc containedin=cComment,cCommentL syn cluster cCommentGroup add=cAutodocReal syn cluster cPreProcGroup add=cAutodocReal endif " be able to fold #pragma regions syn region cPragma start="^\s*#pragma\s\+region\>" end="^\s*#pragma\s\+endregion\>" transparent keepend extend fold " Highlight User Labels syn cluster cMultiGroup contains=cIncluded,cSpecial,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cUserCont,cUserLabel,cBitField,cOctalZero,cCppOutWrapper,cCppInWrapper,@cCppOutInGroup,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom,cCppParen,cCppBracket,cCppString if s:ft ==# 'c' || exists("cpp_no_cpp11") syn region cMulti transparent start='?' skip='::' end=':' contains=ALLBUT,@cMultiGroup,@Spell,@cStringGroup endif " Avoid matching foo::bar() in C++ by requiring that the next char is not ':' syn cluster cLabelGroup contains=cUserLabel syn match cUserCont display "^\s*\zs\I\i*\s*:$" contains=@cLabelGroup syn match cUserCont display ";\s*\zs\I\i*\s*:$" contains=@cLabelGroup if s:in_cpp_family syn match cUserCont display "^\s*\zs\%(class\|struct\|enum\)\@!\I\i*\s*:[^:]"me=e-1 contains=@cLabelGroup syn match cUserCont display ";\s*\zs\%(class\|struct\|enum\)\@!\I\i*\s*:[^:]"me=e-1 contains=@cLabelGroup else syn match cUserCont display "^\s*\zs\I\i*\s*:[^:]"me=e-1 contains=@cLabelGroup syn match cUserCont display ";\s*\zs\I\i*\s*:[^:]"me=e-1 contains=@cLabelGroup endif syn match cUserLabel display "\I\i*" contained " Avoid recognizing most bitfields as labels syn match cBitField display "^\s*\zs\I\i*\s*:\s*[1-9]"me=e-1 contains=cType syn match cBitField display ";\s*\zs\I\i*\s*:\s*[1-9]"me=e-1 contains=cType if exists("c_minlines") let b:c_minlines = c_minlines else if !exists("c_no_if0") let b:c_minlines = 50 " #if 0 constructs can be long else let b:c_minlines = 15 " mostly for () constructs endif endif if exists("c_curly_error") syn sync fromstart else exec "syn sync ccomment cComment minlines=" . b:c_minlines endif " Define the default highlighting. " Only used when an item doesn't have highlighting yet hi def link cFormat cSpecial hi def link cCppString cString hi def link cCommentL cComment hi def link cCommentStart cComment hi def link cLabel Label hi def link cUserLabel Label hi def link cConditional Conditional hi def link cRepeat Repeat hi def link cCharacter Character hi def link cSpecialCharacter cSpecial hi def link cNumber Number hi def link cOctal Number hi def link cOctalZero PreProc " link this to Error if you want hi def link cFloat Float hi def link cOctalError cError hi def link cParenError cError hi def link cErrInParen cError hi def link cErrInBracket cError hi def link cCommentError cError hi def link cCommentStartError cError hi def link cSpaceError cError hi def link cWrongComTail cError hi def link cSpecialError cError hi def link cCurlyError cError hi def link cOperator Operator hi def link cStructure Structure hi def link cTypedef Structure hi def link cStorageClass StorageClass hi def link cInclude Include hi def link cPreProc PreProc hi def link cDefine Macro hi def link cIncluded cString hi def link cError Error hi def link cStatement Statement hi def link cCppInWrapper cCppOutWrapper hi def link cCppOutWrapper cPreCondit hi def link cPreConditMatch cPreCondit hi def link cPreCondit PreCondit hi def link cType Type hi def link cConstant Constant hi def link cCommentString cString hi def link cComment2String cString hi def link cCommentSkip cComment hi def link cString String hi def link cComment Comment hi def link cSpecial SpecialChar hi def link cTodo Todo hi def link cBadContinuation Error hi def link cCppOutSkip cCppOutIf2 hi def link cCppInElse2 cCppOutIf2 hi def link cCppOutIf2 cCppOut hi def link cCppOut Comment let b:current_syntax = "c" unlet s:ft let &cpo = s:cpo_save unlet s:cpo_save " vim: ts=8
Save
cmd:
run