annotate runtime/syntax/xf86conf.vim @ 436:a1c5a6cb2675 v7.0112

updated for version 7.0112
author vimboss
date Thu, 21 Jul 2005 21:11:17 +0000
parents 165c628aa9fc
children 840c3cadb842
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " This is a GENERATED FILE. Please always refer to source file at the URI below.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Language: XF86Config (XFree86 configuration file)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
415
165c628aa9fc updated for version 7.0108
vimboss
parents: 7
diff changeset
5 " Last Change: 2005 Jul 12
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " URL: http://trific.ath.cx/Ftp/vim/syntax/xf86conf.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " Required Vim Version: 6.0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " Options: let xf86conf_xfree86_version = 3 or 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " to force XFree86 3.x or 4.x XF86Config syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " Setup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 if version >= 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 if exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 echo "Sorry, but this syntax file relies on Vim 6 features. Either upgrade Vim or usea version of " . expand("<sfile>:t:r") . " syntax file appropriate for Vim " . version/100 . "." . version %100 . "."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 if !exists("b:xf86conf_xfree86_version")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 if exists("xf86conf_xfree86_version")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 let b:xf86conf_xfree86_version = xf86conf_xfree86_version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 let b:xf86conf_xfree86_version = 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 " Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn match xf86confComment "#.*$" contains=xf86confTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword xf86confTodo FIXME TODO XXX NOT contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match xf86confTodo "???" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 " Sectioning errors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn keyword xf86confSectionError Section contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn keyword xf86confSectionError EndSection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn keyword xf86confSubSectionError SubSection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn keyword xf86confSubSectionError EndSubSection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn keyword xf86confModeSubSectionError Mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn keyword xf86confModeSubSectionError EndMode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn cluster xf86confSectionErrors contains=xf86confSectionError,xf86confSubSectionError,xf86confModeSubSectionError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 " Values
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 if b:xf86conf_xfree86_version >= 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn region xf86confString start=+"+ skip=+\\\\\|\\"+ end=+"+ contained contains=xf86confSpecialChar,xf86confConstant,xf86confOptionName oneline keepend nextgroup=xf86confValue skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn region xf86confString start=+"+ skip=+\\\\\|\\"+ end=+"+ contained contains=xf86confSpecialChar,xf86confOptionName oneline keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match xf86confSpecialChar "\\\d\d\d\|\\." contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn match xf86confDecimalNumber "\(\s\|-\)\zs\d*\.\=\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn match xf86confFrequency "\(\s\|-\)\zs\d\+\.\=\d*\(Hz\|k\|kHz\|M\|MHz\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn match xf86confOctalNumber "\<0\o\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn match xf86confOctalNumberError "\<0\o\+[89]\d*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn match xf86confHexadecimalNumber "\<0x\x\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn match xf86confValue "\s\+.*$" contained contains=xf86confComment,xf86confString,xf86confFrequency,xf86conf\w\+Number,xf86confConstant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn keyword xf86confOption Option nextgroup=xf86confString skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn match xf86confModeLineValue "\"[^\"]\+\"\(\_s\+[0-9.]\+\)\{9}" nextgroup=xf86confSync skipwhite skipnl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 " Sections and subsections
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 if b:xf86conf_xfree86_version >= 4
415
165c628aa9fc updated for version 7.0108
vimboss
parents: 7
diff changeset
66 syn region xf86confSection matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"\(Files\|Server[_ ]*Flags\|Input[_ ]*Device\|Device\|Video[_ ]*Adaptor\|Server[_ ]*Layout\|DRI\|Extensions\|Vendor\|Keyboard\|Pointer\)\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confComment,xf86confOption,xf86confKeyword,xf86confSectionError
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn region xf86confSectionModule matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"Module\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confSubsectionAny,xf86confComment,xf86confOption,xf86confKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn region xf86confSectionMonitor matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"Monitor\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confSubsectionMode,xf86confModeLine,xf86confComment,xf86confOption,xf86confKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn region xf86confSectionModes matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"Modes\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confSubsectionMode,xf86confModeLine,xf86confComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn region xf86confSectionScreen matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"Screen\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confSubsectionDisplay,xf86confComment,xf86confOption,xf86confKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn region xf86confSubSectionAny matchgroup=xf86confSectionDelim start="^\s*SubSection\s\+\"[^\"]\+\"" end="^\s*EndSubSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confComment,xf86confOption,xf86confKeyword,@xf86confSectionErrors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn region xf86confSubSectionMode matchgroup=xf86confSectionDelim start="^\s*Mode\s\+\"[^\"]\+\"" end="^\s*EndMode\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confComment,xf86confKeyword,@xf86confSectionErrors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn region xf86confSubSectionDisplay matchgroup=xf86confSectionDelim start="^\s*SubSection\s\+\"Display\"" end="^\s*EndSubSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confComment,xf86confOption,xf86confKeyword,@xf86confSectionErrors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn region xf86confSection matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"\(Files\|Server[_ ]*Flags\|Device\|Keyboard\|Pointer\)\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confComment,xf86confOptionName,xf86confOption,xf86confKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn region xf86confSectionMX matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"\(Module\|Xinput\)\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confSubsectionAny,xf86confComment,xf86confOptionName,xf86confOption,xf86confKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn region xf86confSectionMonitor matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"Monitor\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confSubsectionMode,xf86confModeLine,xf86confComment,xf86confOptionName,xf86confOption,xf86confKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn region xf86confSectionScreen matchgroup=xf86confSectionDelim start="^\s*Section\s\+\"Screen\"" end="^\s*EndSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confSubsectionDisplay,xf86confComment,xf86confOptionName,xf86confOption,xf86confKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn region xf86confSubSectionAny matchgroup=xf86confSectionDelim start="^\s*SubSection\s\+\"[^\"]\+\"" end="^\s*EndSubSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confComment,xf86confOptionName,xf86confOption,xf86confKeyword,@xf86confSectionErrors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn region xf86confSubSectionMode matchgroup=xf86confSectionDelim start="^\s*Mode\s\+\"[^\"]\+\"" end="^\s*EndMode\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confComment,xf86confOptionName,xf86confOption,xf86confKeyword,@xf86confSectionErrors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn region xf86confSubSectionDisplay matchgroup=xf86confSectionDelim start="^\s*SubSection\s\+\"Display\"" end="^\s*EndSubSection\>" skip="#.*$\|\"[^\"]*\"" contains=xf86confComment,xf86confOptionName,xf86confOption,xf86confKeyword,@xf86confSectionErrors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 " Options
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 if b:xf86conf_xfree86_version >= 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 command -nargs=+ Xf86confdeclopt syn keyword xf86confOptionName <args> contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 command -nargs=+ Xf86confdeclopt syn keyword xf86confOptionName <args> contained nextgroup=xf86confValue,xf86confComment skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 Xf86confdeclopt 18bitBus AGPFastWrite AGPMode Accel AllowClosedownGrabs AllowDeactivateGrabs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 Xf86confdeclopt AllowMouseOpenFail AllowNonLocalModInDev AllowNonLocalXvidtune AlwaysCore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 Xf86confdeclopt AngleOffset AutoRepeat BaudRate BeamTimeout Beep BlankTime BlockWrite BottomX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 Xf86confdeclopt BottomY ButtonNumber ButtonThreshold Buttons ByteSwap CacheLines ChordMiddle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 Xf86confdeclopt ClearDTR ClearDTS ClickMode CloneDisplay CloneHSync CloneMode CloneVRefresh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 Xf86confdeclopt ColorKey Composite CompositeSync CoreKeyboard CorePointer Crt2Memory CrtScreen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 Xf86confdeclopt CrtcNumber CyberShadow CyberStretch DDC DDCMode DMAForXv DPMS Dac6Bit DacSpeed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 Xf86confdeclopt DataBits Debug DebugLevel DefaultServerLayout DeltaX DeltaY Device DeviceName
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 Xf86confdeclopt DisableModInDev DisableVidModeExtension Display Display1400 DontVTSwitch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 Xf86confdeclopt DontZap DontZoom DoubleScan DozeMode DozeScan DozeTime DragLockButtons
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 Xf86confdeclopt DualCount DualRefresh EarlyRasPrecharge Emulate3Buttons Emulate3Timeout
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 Xf86confdeclopt EmulateWheel EmulateWheelButton EmulateWheelInertia EnablePageFlip EnterCount
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 Xf86confdeclopt EstimateSizesAggressively ExternDisp FPClock16 FPClock24 FPClock32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 Xf86confdeclopt FPClock8 FPDither FastDram FifoAggresive FifoConservative FifoModerate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 Xf86confdeclopt FireGL3000 FixPanelSize FlatPanel FlipXY FlowControl ForceCRT1 ForceCRT2Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 Xf86confdeclopt ForceLegacyCRT ForcePCIMode FpmVRAM FrameBufferWC FullMMIO GammaBrightness
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 Xf86confdeclopt HWClocks HWCursor HandleSpecialKeys HistorySize Interlace Interlaced InternDisp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 Xf86confdeclopt InvX InvY InvertX InvertY KeepShape LCDClock LateRasPrecharge LcdCenter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 Xf86confdeclopt LeftAlt Linear MGASDRAM MMIO MMIOCache MTTR MaxX MaxY MaximumXPosition
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 Xf86confdeclopt MaximumYPosition MinX MinY MinimumXPosition MinimumYPosition NoAccel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 Xf86confdeclopt NoAllowMouseOpenFail NoAllowNonLocalModInDev NoAllowNonLocalXvidtune
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 Xf86confdeclopt NoBlockWrite NoCompositeSync NoCompression NoCrtScreen NoCyberShadow NoDCC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 Xf86confdeclopt NoDDC NoDac6Bit NoDebug NoDisableModInDev NoDisableVidModeExtension NoDontZap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 Xf86confdeclopt NoDontZoom NoFireGL3000 NoFixPanelSize NoFpmVRAM NoFrameBufferWC NoHWClocks
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 Xf86confdeclopt NoHWCursor NoHal NoLcdCenter NoLinear NoMGASDRAM NoMMIO NoMMIOCache NoMTTR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 Xf86confdeclopt NoOverClockMem NoOverlay NoPC98 NoPM NoPciBurst NoPciRetry NoProbeClock
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 Xf86confdeclopt NoSTN NoSWCursor NoShadowFb NoShowCache NoSlowEDODRAM NoStretch NoSuspendHack
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 Xf86confdeclopt NoTexturedVideo NoTrapSignals NoUseFBDev NoUseModeline NoUseVclk1 NoVTSysReq
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 Xf86confdeclopt NoXVideo NvAGP OSMImageBuffers OffTime Origin OverClockMem Overlay
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 Xf86confdeclopt PC98 PCIBurst PM PWMActive PWMSleep PanelDelayCompensation PanelHeight
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 Xf86confdeclopt PanelOff PanelWidth Parity PciBurst PciRetry Pixmap Port PressDur PressPitch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 Xf86confdeclopt PressVol ProbeClocks ProgramFPRegs Protocol RGBBits ReleaseDur ReleasePitch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 Xf86confdeclopt ReportingMode Resolution RightAlt RightCtl Rotate STN SWCursor SampleRate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 Xf86confdeclopt ScreenNumber ScrollLock SendCoreEvents SendDragEvents Serial ServerNumLock
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 Xf86confdeclopt SetLcdClk SetMClk SetRefClk ShadowFb ShadowStatus ShowCache SleepMode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 Xf86confdeclopt SleepScan SleepTime SlowDram SlowEDODRAM StandbyTime StopBits Stretch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 Xf86confdeclopt SuspendHack SuspendTime SwapXY SyncOnGreen TV TVOutput TVOverscan TVStandard
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 Xf86confdeclopt TVXPosOffset TVYPosOffset TexturedVideo Threshold Tilt TopX TopY TouchTime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 Xf86confdeclopt TrapSignals Type USB UseBIOS UseFB UseFBDev UseFlatPanel UseModeline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 Xf86confdeclopt UseROMData UseVclk1 VTInit VTSysReq VTime VideoKey Vmin XAxisMapping
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 Xf86confdeclopt XLeds XVideo XaaNoCPUToScreenColorExpandFill XaaNoColor8x8PatternFillRect
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 Xf86confdeclopt XaaNoColor8x8PatternFillTrap XaaNoDashedBresenhamLine XaaNoDashedTwoPointLine
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 Xf86confdeclopt XaaNoImageWriteRect XaaNoMono8x8PatternFillRect XaaNoMono8x8PatternFillTrap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 Xf86confdeclopt XaaNoOffscreenPixmaps XaaNoPixmapCache XaaNoScanlineCPUToScreenColorExpandFill
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 Xf86confdeclopt XaaNoScanlineImageWriteRect XaaNoScreenToScreenColorExpandFill
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 Xf86confdeclopt XaaNoScreenToScreenCopy XaaNoSolidBresenhamLine XaaNoSolidFillRect
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 Xf86confdeclopt XaaNoSolidFillTrap XaaNoSolidHorVertLine XaaNoSolidTwoPointLine Xinerama
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 Xf86confdeclopt XkbCompat XkbDisable XkbGeometry XkbKeycodes XkbKeymap XkbLayout XkbModel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 Xf86confdeclopt XkbOptions XkbRules XkbSymbols XkbTypes XkbVariant XvBskew XvHsync XvOnCRT2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 Xf86confdeclopt XvRskew XvVsync YAxisMapping ZAxisMapping ZoomOnLCD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 delcommand Xf86confdeclopt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 " Keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn keyword xf86confKeyword Device Driver FontPath Group Identifier Load ModelName ModulePath Monitor RGBPath VendorName VideoAdaptor Visual nextgroup=xf86confComment,xf86confString skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn keyword xf86confKeyword BiosBase Black BoardName BusID ChipID ChipRev Chipset nextgroup=xf86confComment,xf86confValue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn keyword xf86confKeyword ClockChip Clocks DacSpeed DefaultDepth DefaultFbBpp nextgroup=xf86confComment,xf86confValue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn keyword xf86confKeyword DefaultColorDepth nextgroup=xf86confComment,xf86confValue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syn keyword xf86confKeyword Depth DisplaySize DotClock FbBpp Flags Gamma HorizSync nextgroup=xf86confComment,xf86confValue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn keyword xf86confKeyword Hskew HTimings InputDevice IOBase MemBase Mode nextgroup=xf86confComment,xf86confValue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn keyword xf86confKeyword Modes Ramdac Screen TextClockFreq UseModes VendorName nextgroup=xf86confComment,xf86confValue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn keyword xf86confKeyword VertRefresh VideoRam ViewPort Virtual VScan VTimings nextgroup=xf86confComment,xf86confValue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn keyword xf86confKeyword Weight White nextgroup=xf86confComment,xf86confValue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syn keyword xf86confModeLine ModeLine nextgroup=xf86confComment,xf86confModeLineValue skipwhite skipnl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 " Constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 if b:xf86conf_xfree86_version >= 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn keyword xf86confConstant true false on off yes no omit contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn keyword xf86confConstant Meta Compose Control
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn keyword xf86confConstant StaticGray GrayScale StaticColor PseudoColor TrueColor DirectColor contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syn keyword xf86confConstant Absolute RightOf LeftOf Above Below Relative StaticGray GrayScale StaticColor PseudoColor TrueColor DirectColor contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syn match xf86confSync "\(\s\+[+-][CHV]_*Sync\)\+" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 " Synchronization
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 if b:xf86conf_xfree86_version >= 4
415
165c628aa9fc updated for version 7.0108
vimboss
parents: 7
diff changeset
168 syn sync match xf86confSyncSection grouphere xf86confSection "^\s*Section\s\+\"\(Files\|Server[_ ]*Flags\|Input[_ ]*Device\|Device\|Video[_ ]*Adaptor\|Server[_ ]*Layout\|DRI\|Extensions\|Vendor\|Keyboard\|Pointer\)\""
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syn sync match xf86confSyncSectionModule grouphere xf86confSectionModule "^\s*Section\s\+\"Module\""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syn sync match xf86confSyncSectionModes groupthere xf86confSectionModes "^\s*Section\s\+\"Modes\""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syn sync match xf86confSyncSection grouphere xf86confSection "^\s*Section\s\+\"\(Files\|Server[_ ]*Flags\|Device\|Keyboard\|Pointer\)\""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn sync match xf86confSyncSectionMX grouphere xf86confSectionMX "^\s*Section\s\+\"\(Module\|Xinput\)\""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syn sync match xf86confSyncSectionMonitor groupthere xf86confSectionMonitor "^\s*Section\s\+\"Monitor\""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syn sync match xf86confSyncSectionScreen groupthere xf86confSectionScreen "^\s*Section\s\+\"Screen\""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syn sync match xf86confSyncEndSection groupthere NONE "^\s*End_*Section\s*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 " Define the default highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 hi def link xf86confComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 hi def link xf86confTodo Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 hi def link xf86confSectionDelim Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 hi def link xf86confOptionName Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 hi def link xf86confSectionError xf86confError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 hi def link xf86confSubSectionError xf86confError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 hi def link xf86confModeSubSectionError xf86confError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 hi def link xf86confOctalNumberError xf86confError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 hi def link xf86confError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 hi def link xf86confOption xf86confKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 hi def link xf86confModeLine xf86confKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 hi def link xf86confKeyword Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 hi def link xf86confDecimalNumber xf86confNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 hi def link xf86confOctalNumber xf86confNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 hi def link xf86confHexadecimalNumber xf86confNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 hi def link xf86confFrequency xf86confNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 hi def link xf86confModeLineValue Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 hi def link xf86confNumber Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 hi def link xf86confSync xf86confConstant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 hi def link xf86confConstant Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 hi def link xf86confSpecialChar Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 hi def link xf86confString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 hi def link xf86confValue Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 let b:current_syntax = "xf86conf"