7
|
1 " Vim syntax file
|
375
|
2 " Language: mplayer(1) configuration file
|
839
|
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2006-04-19
|
7
|
5
|
375
|
6 if exists("b:current_syntax")
|
7
|
7 finish
|
|
8 endif
|
|
9
|
375
|
10 let s:cpo_save = &cpo
|
|
11 set cpo&vim
|
|
12
|
|
13 setlocal iskeyword=@,48-57,-
|
7
|
14
|
375
|
15 syn keyword mplayerconfTodo contained TODO FIXME XXX NOTE
|
7
|
16
|
389
|
17 syn region mplayerconfComment display oneline start='#' end='$'
|
375
|
18 \ contains=mplayerconfTodo,@Spell
|
7
|
19
|
|
20 syn keyword mplayerconfPreProc include
|
|
21
|
|
22 syn keyword mplayerconfBoolean yes no
|
|
23
|
|
24 syn match mplayerconfNumber '\<\d\+\>'
|
|
25
|
375
|
26 syn keyword mplayerconfOption hardframedrop nomouseinput bandwidth dumpstream
|
|
27 \ rtsp-stream-over-tcp tv overlapsub
|
|
28 \ sub-bg-alpha subfont-outline unicode format
|
|
29 \ vo edl cookies fps zrfd af-adv nosound
|
|
30 \ audio-density passlogfile vobsuboutindex autoq
|
|
31 \ autosync benchmark colorkey nocolorkey edlout
|
|
32 \ enqueue fixed-vo framedrop h identify input
|
|
33 \ lircconf list-options loop menu menu-cfg
|
|
34 \ menu-root nojoystick nolirc nortc playlist
|
|
35 \ quiet really-quiet shuffle skin slave
|
|
36 \ softsleep speed sstep use-stdin aid alang
|
|
37 \ audio-demuxer audiofile audiofile-cache
|
|
38 \ cdrom-device cache cdda channels chapter
|
|
39 \ cookies-file demuxer dumpaudio dumpfile
|
|
40 \ dumpvideo dvbin dvd-device dvdangle forceidx
|
|
41 \ frames hr-mp3-seek idx ipv4-only-proxy
|
|
42 \ loadidx mc mf ni nobps noextbased
|
|
43 \ passwd prefer-ipv4 prefer-ipv6 rawaudio
|
|
44 \ rawvideo saveidx sb srate ss tskeepbroken
|
|
45 \ tsprog tsprobe user user-agent vid vivo
|
|
46 \ dumpjacosub dumpmicrodvdsub dumpmpsub dumpsami
|
|
47 \ dumpsrtsub dumpsub ffactor flip-hebrew font
|
|
48 \ forcedsubsonly fribidi-charset ifo noautosub
|
|
49 \ osdlevel sid slang spuaa spualign spugauss
|
|
50 \ sub sub-bg-color sub-demuxer sub-fuzziness
|
|
51 \ sub-no-text-pp subalign subcc subcp subdelay
|
|
52 \ subfile subfont-autoscale subfont-blur
|
|
53 \ subfont-encoding subfont-osd-scale
|
|
54 \ subfont-text-scale subfps subpos subwidth
|
|
55 \ utf8 vobsub vobsubid abs ao aofile aop delay
|
|
56 \ mixer nowaveheader aa bpp brightness contrast
|
|
57 \ dfbopts display double dr dxr2 fb fbmode
|
|
58 \ fbmodeconfig forcexv fs fsmode-dontuse fstype
|
|
59 \ geometry guiwid hue jpeg monitor-dotclock
|
|
60 \ monitor-hfreq monitor-vfreq monitoraspect
|
|
61 \ nograbpointer nokeepaspect noxv ontop panscan
|
|
62 \ rootwin saturation screenw stop-xscreensaver
|
|
63 \ vm vsync wid xineramascreen z zrbw zrcrop
|
|
64 \ zrdev zrhelp zrnorm zrquality zrvdec zrxdoff
|
|
65 \ ac af afm aspect flip lavdopts noaspect
|
|
66 \ noslices novideo oldpp pp pphelp ssf stereo
|
|
67 \ sws vc vfm x xvidopts xy y zoom vf vop
|
|
68 \ audio-delay audio-preload endpos ffourcc
|
|
69 \ include info noautoexpand noskip o oac of
|
|
70 \ ofps ovc skiplimit v vobsubout vobsuboutid
|
|
71 \ lameopts lavcopts nuvopts xvidencopts
|
7
|
72
|
375
|
73 hi def link mplayerconfTodo Todo
|
|
74 hi def link mplayerconfComment Comment
|
|
75 hi def link mplayerconfPreProc PreProc
|
|
76 hi def link mplayerconfBoolean Boolean
|
|
77 hi def link mplayerconfNumber Number
|
|
78 hi def link mplayerconfOption Keyword
|
7
|
79
|
|
80 let b:current_syntax = "mplayerconf"
|
|
81
|
375
|
82 let &cpo = s:cpo_save
|
|
83 unlet s:cpo_save
|