codekingpro/portable-devtools
114k
1" Vim syntax file2" This is a GENERATED FILE. Please always refer to source file at the URI below.3" Language: XKB (X Keyboard Extension) components4" Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>5" Last Change: 2020 Oct 186" URL: http://trific.ath.cx/Ftp/vim/syntax/xkb.vim7 8" Setup9" quit when a syntax file was already loaded10if exists("b:current_syntax")11 finish12endif13 14syn case match15syn sync minlines=10016 17" Comments18syn region xkbComment start="//" skip="\\$" end="$" keepend contains=xkbTodo19syn region xkbComment start="/\*" matchgroup=NONE end="\*/" contains=xkbCommentStartError,xkbTodo20syn match xkbCommentError "\*/"21syntax match xkbCommentStartError "/\*" contained22syn sync ccomment xkbComment23syn keyword xkbTodo TODO FIXME contained24 25" Literal strings26syn match xkbSpecialChar "\\\d\d\d\|\\." contained27syn region xkbString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=xkbSpecialChar oneline28 29" Catch errors caused by wrong parenthesization30syn region xkbParen start='(' end=')' contains=ALLBUT,xkbParenError,xkbSpecial,xkbTodo transparent31syn match xkbParenError ")"32syn region xkbBrace start='{' end='}' contains=ALLBUT,xkbBraceError,xkbSpecial,xkbTodo transparent33syn match xkbBraceError "}"34syn region xkbBracket start='\[' end='\]' contains=ALLBUT,xkbBracketError,xkbSpecial,xkbTodo transparent35syn match xkbBracketError "\]"36 37" Physical keys38syn match xkbPhysicalKey "<\w\+>"39 40" Keywords41syn keyword xkbPreproc augment include replace42syn keyword xkbConstant False True43syn keyword xkbModif override replace44syn keyword xkbIdentifier action affect alias allowExplicit approx baseColor button clearLocks color controls cornerRadius count ctrls description driveskbd font fontSize gap group groups height indicator indicatorDrivesKeyboard interpret key keys labelColor latchToLock latchMods left level_name map maximum minimum modifier_map modifiers name offColor onColor outline preserve priority repeat row section setMods shape slant solid symbols text top type useModMapMods virtualModifier virtualMods virtual_modifiers weight whichModState width45syn keyword xkbFunction AnyOf ISOLock LatchGroup LatchMods LockControls LockGroup LockMods LockPointerButton MovePtr NoAction PointerButton SetControls SetGroup SetMods SetPtrDflt Terminate46syn keyword xkbTModif default hidden partial virtual47syn keyword xkbSect alphanumeric_keys alternate_group function_keys keypad_keys modifier_keys xkb_compatibility xkb_geometry xkb_keycodes xkb_keymap xkb_semantics xkb_symbols xkb_types48 49" Define the default highlighting50 51hi def link xkbModif xkbPreproc52hi def link xkbTModif xkbPreproc53hi def link xkbPreproc Preproc54 55hi def link xkbIdentifier Keyword56hi def link xkbFunction Function57hi def link xkbSect Type58hi def link xkbPhysicalKey Identifier59hi def link xkbKeyword Keyword60 61hi def link xkbComment Comment62hi def link xkbTodo Todo63 64hi def link xkbConstant Constant65hi def link xkbString String66 67hi def link xkbSpecialChar xkbSpecial68hi def link xkbSpecial Special69 70hi def link xkbParenError xkbBalancingError71hi def link xkbBraceError xkbBalancingError72hi def link xkbBraketError xkbBalancingError73hi def link xkbBalancingError xkbError74hi def link xkbCommentStartError xkbCommentError75hi def link xkbCommentError xkbError76hi def link xkbError Error77 78 79let b:current_syntax = "xkb"80 