codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: XCompose3" Maintainer: ObserverOfTime <chronobserver@disroot.org>4" Filenames: .XCompose, Compose5" Last Change: 2023 Nov 096 7" Comments8syn keyword xcomposeTodo contained TODO FIXME XXX9syn match xcomposeComment /#.*/ contains=xcomposeTodo10 11" Includes12syn keyword xcomposeInclude include nextgroup=xcomposeFile skipwhite13syn match xcomposeFile /"\([^"]\|\\"\)\+"/ contained14syn match xcomposeSubstitution /%[HLS]/ contained containedin=xcomposeFile15 16" Modifiers17syn keyword xcomposeModifier Ctrl Lock Caps Shift Alt Meta None18syn match xcomposeModifierPrefix /\s*\zs[!~]\ze\s*/19 20" Keysyms21syn match xcomposeKeysym /<[A-Za-z0-9_]\+>/22syn match xcomposeKeysym /[A-Za-z0-9_]\+/ contained23syn match xcomposeString /"\([^"]\|\\"\)\+"/ contained nextgroup=xcomposeKeysym skipwhite24syn match xcomposeColon /:/ nextgroup=xcomposeKeysym,xcomposeString skipwhite25 26hi def link xcomposeColon Delimiter27hi def link xcomposeComment Comment28hi def link xcomposeFile String29hi def link xcomposeInclude Include30hi def link xcomposeKeysym Constant31hi def link xcomposeModifier Function32hi def link xcomposeModifierPrefix Operator33hi def link xcomposeString String34hi def link xcomposeSubstitution Special35hi def link xcomposeTodo Todo36 37let b:current_syntax = 'xcompose'38 