annotate runtime/syntax/xf86conf.vim @ 16154:f344647acbbc v8.1.1082

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