annotate runtime/syntax/mplayerconf.vim @ 6969:417201526af3 v7.4.802

patch 7.4.802 Problem: Using "A" in Visual mode while 'linebreak' is set is not tested. Solution: Add a test for this, verifies the problem is fixed. (Ingo Karkat)
author Bram Moolenaar <bram@vim.org>
date Tue, 28 Jul 2015 17:16:33 +0200
parents 435956324539
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
6530
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
2 " Language: mplayer(1) configuration file
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
3 " Maintainer: Dmitri Vereshchagin <dmitri.vereshchagin@gmail.com>
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
5 " Latest Revision: 2015-01-24
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
7 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
11 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
12 set cpo&vim
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
13
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 839
diff changeset
14 setlocal iskeyword+=-
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
16 syn keyword mplayerconfTodo contained TODO FIXME XXX NOTE
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
18 syn region mplayerconfComment display oneline start='#' end='$'
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
19 \ contains=mplayerconfTodo,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn keyword mplayerconfPreProc include
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
6530
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
23 syn keyword mplayerconfBoolean yes no true false
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn match mplayerconfNumber '\<\d\+\>'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
27 syn keyword mplayerconfOption hardframedrop nomouseinput bandwidth dumpstream
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
28 \ rtsp-stream-over-tcp tv overlapsub
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
29 \ sub-bg-alpha subfont-outline unicode format
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
30 \ vo edl cookies fps zrfd af-adv nosound
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
31 \ audio-density passlogfile vobsuboutindex autoq
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
32 \ autosync benchmark colorkey nocolorkey edlout
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
33 \ enqueue fixed-vo framedrop h identify input
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
34 \ lircconf list-options loop menu menu-cfg
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
35 \ menu-root nojoystick nolirc nortc playlist
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
36 \ quiet really-quiet shuffle skin slave
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
37 \ softsleep speed sstep use-stdin aid alang
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
38 \ audio-demuxer audiofile audiofile-cache
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
39 \ cdrom-device cache cdda channels chapter
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
40 \ cookies-file demuxer dumpaudio dumpfile
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
41 \ dumpvideo dvbin dvd-device dvdangle forceidx
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
42 \ frames hr-mp3-seek idx ipv4-only-proxy
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
43 \ loadidx mc mf ni nobps noextbased
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
44 \ passwd prefer-ipv4 prefer-ipv6 rawaudio
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
45 \ rawvideo saveidx sb srate ss tskeepbroken
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
46 \ tsprog tsprobe user user-agent vid vivo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
47 \ dumpjacosub dumpmicrodvdsub dumpmpsub dumpsami
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
48 \ dumpsrtsub dumpsub ffactor flip-hebrew font
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
49 \ forcedsubsonly fribidi-charset ifo noautosub
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
50 \ osdlevel sid slang spuaa spualign spugauss
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
51 \ sub sub-bg-color sub-demuxer sub-fuzziness
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
52 \ sub-no-text-pp subalign subcc subcp subdelay
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
53 \ subfile subfont-autoscale subfont-blur
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
54 \ subfont-encoding subfont-osd-scale
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
55 \ subfont-text-scale subfps subpos subwidth
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
56 \ utf8 vobsub vobsubid abs ao aofile aop delay
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
57 \ mixer nowaveheader aa bpp brightness contrast
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
58 \ dfbopts display double dr dxr2 fb fbmode
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
59 \ fbmodeconfig forcexv fs fsmode-dontuse fstype
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
60 \ geometry guiwid hue jpeg monitor-dotclock
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
61 \ monitor-hfreq monitor-vfreq monitoraspect
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
62 \ nograbpointer nokeepaspect noxv ontop panscan
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
63 \ rootwin saturation screenw stop-xscreensaver
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
64 \ vm vsync wid xineramascreen z zrbw zrcrop
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
65 \ zrdev zrhelp zrnorm zrquality zrvdec zrxdoff
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
66 \ ac af afm aspect flip lavdopts noaspect
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
67 \ noslices novideo oldpp pp pphelp ssf stereo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
68 \ sws vc vfm x xvidopts xy y zoom vf vop
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
69 \ audio-delay audio-preload endpos ffourcc
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
70 \ include info noautoexpand noskip o oac of
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
71 \ ofps ovc skiplimit v vobsubout vobsuboutid
6530
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
72 \ lameopts lavcopts nuvopts xvidencopts a52drc
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
73 \ adapter af-add af-clr af-del af-pre
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
74 \ allow-dangerous-playlist-parsing ass
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
75 \ ass-border-color ass-bottom-margin ass-color
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
76 \ ass-font-scale ass-force-style ass-hinting
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
77 \ ass-line-spacing ass-styles ass-top-margin
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
78 \ ass-use-margins ausid bluray-angle
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
79 \ bluray-device border border-pos-x border-pos-y
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
80 \ cache-min cache-seek-min capture codecpath
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
81 \ codecs-file correct-pts crash-debug
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
82 \ doubleclick-time dvd-speed edl-backward-delay
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
83 \ edl-start-pts embeddedfonts fafmttag
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
84 \ field-dominance fontconfig force-avi-aspect
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
85 \ force-key-frames frameno-file fullscreen gamma
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
86 \ gui gui-include gui-wid heartbeat-cmd
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
87 \ heartbeat-interval hr-edl-seek
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
88 \ http-header-fields idle ignore-start
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
89 \ key-fifo-size list-properties menu-chroot
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
90 \ menu-keepdir menu-startup mixer-channel
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
91 \ monitor-orientation monitorpixelaspect
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
92 \ mouse-movements msgcharset msgcolor msglevel
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
93 \ msgmodule name noar nocache noconfig
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
94 \ noconsolecontrols nocorrect-pts nodouble
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
95 \ noedl-start-pts noencodedups
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
96 \ noflip-hebrew-commas nogui noidx noodml
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
97 \ nostop-xscreensaver nosub noterm-osd
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
98 \ osd-duration osd-fractions panscanrange
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
99 \ pausing playing-msg priority profile
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
100 \ progbar-align psprobe pvr radio referrer
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
101 \ refreshrate reuse-socket rtc rtc-device
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
102 \ rtsp-destination rtsp-port
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
103 \ rtsp-stream-over-http screenh show-profile
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
104 \ softvol softvol-max sub-paths subfont
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
105 \ term-osd-esc title tvscan udp-ip udp-master
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
106 \ udp-port udp-seek-threshold udp-slave
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
107 \ unrarexec use-filedir-conf use-filename-title
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
108 \ vf-add vf-clr vf-del vf-pre volstep volume
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
109 \ zrhdec zrydoff
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
110
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
111 syn region mplayerconfString display oneline start=+"+ end=+"+
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
112 syn region mplayerconfString display oneline start=+'+ end=+'+
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
113
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
114 syn region mplayerconfProfile display oneline start='^\s*\[' end='\]'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
116 hi def link mplayerconfTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
117 hi def link mplayerconfComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
118 hi def link mplayerconfPreProc PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
119 hi def link mplayerconfBoolean Boolean
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
120 hi def link mplayerconfNumber Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
121 hi def link mplayerconfOption Keyword
6530
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
122 hi def link mplayerconfString String
435956324539 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
123 hi def link mplayerconfProfile Special
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 let b:current_syntax = "mplayerconf"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
127 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
128 unlet s:cpo_save