systemd/debian/extra/udev.vim
Michael Biebl b56f8637a1 Merge remaining files from udev 175-7
The patches from udev were either merged upstream, applied directly,
added as files to debian/extra/ or dropped:

- debian/patches/commit-4b50a3d
  Applied upstream in 4b50a3d004
- debian/patches/fix_gtkdoc_oot
  Fixed upstream
- debian/patches/libudevpc_no_librt
  Fixed upstream in e712ffcce6
- debian/patches/vio_type
  Dropped for now.
- debian/patches/debian_rules
  Added as debian/extra/rules/*
- debian/patches/extra_agents
  Added as debian/extra/*.agent and debian/extra/hotplug.functions
- debian/patches/extra_initramfs
  Added as debian/extra/initramfs.*
- debian/patches/extra_installer
  Added as debian/extra/udev.*
- debian/patches/extra_modprobeconf
  Added as debian/extra/fbdev-blacklist.conf and
  debian/extra/make-fbdev-blacklist
- debian/patches/extra_misc
  Added as debian/extra/links.conf and debian/extra/create_static_nodes
- debian/patches/dont-build-some-helpers
  Dropped, since we will use the upstream firmware agent now
- debian/patches/libgudev_in_usr
  Applied as 418b0a2d41
- debian/patches/rules_compat_qemu
  Dropped, only needed for kernel versions <= 2.6.32
- debian/patches/use_run_tmpfs
  Dropped, since wheezy /run is mandatory
- debian/patches/dev_root_rule
  Dropped, discouraged upstream
- debian/patches/udevd_in_sbin
  Dropped, we will use the $libexec path now in the .service file and
  provide compat symlinks
- udev_conf_comments
  Applied as c82d84e916
2013-07-18 18:57:39 +02:00

46 lines
1.5 KiB
VimL

" Vim syntax file
" Language: udev rules files
" Maintainer: Marco d'Itri <md@linux.it>
" Last Change: 2005 August
"
" This syntax file is unfinished. If you can, please clean it up and submit
" it for inclusion in the vim package.
if exists("b:current_syntax")
finish
endif
let b:current_syntax = "udev"
syn keyword Ucondition ACTION ENV RESULT KERNEL SUBSYSTEM DRIVER ATTR
syn keyword Ucondition KERNELS SUBSYSTEMS DRIVERS ATTRS DEVPATH TEST
syn keyword Ucondition nextgroup=Uparambr,Uoperator
syn keyword Uaction PROGRAM NAME SYMLINK OWNER GROUP MODE RUN OPTIONS
syn keyword Uaction IMPORT GOTO LABEL
syn keyword Uaction nextgroup=Uparambr,Uoperator
syn region Uparambr start=/{/ end=/}/ contains=Uparam
syn match Uparam '[A-Za-z0-9_]*' contained
syn match Ufnmatch "[?*|]" contained
syn region Ufnmatch start=/\[/ skip=/\\\]/ end=/\]/ contained
syn match Uprintf '%[beknMmps%]\|%c{[0-9]}' contained
syn match Ustringvar '\$[a-z]*' nextgroup=Uparambr
syn match Ustring '"[^"]*"' contains=Uprintf,Ufnmatch,Ustringvar
syn match Uoperator "==\|!=\|=\|+=\|:=\|,"
syn match Ueol '\\$'
syn region Ucomment start=/#/ end=/$/
syn keyword Utodo contained TODO FIXME XXX
hi def link Ucondition Identifier
hi def link Uaction Identifier
hi def link Uparambr Delimiter
hi def link Uparam PreProc
hi def link Ufnmatch Special
hi def link Uprintf Special
hi def link Ustringvar Function
hi def link Ustring String
hi def link Uoperator Operator
hi def link Ueol Delimiter
hi def link Ucomment Comment
hi def link Utodo Todo