vim: update release.sh to vim 7.3
[msysgit/mtrensch.git] / share / vim / vim72 / syntax / sensors.vim
blob63cececc684231458fb36f0d9eb2a40ad1adf67d
1 " Vim syntax file
2 " Language:         sensors.conf(5) - libsensors configuration file
3 " Maintainer:       Nikolai Weibull <now@bitwi.se>
4 " Latest Revision:  2006-04-19
6 if exists("b:current_syntax")
7   finish
8 endif
10 let s:cpo_save = &cpo
11 set cpo&vim
13 syn keyword sensorsTodo         contained TODO FIXME XXX NOTE
15 syn region  sensorsComment      display oneline start='#' end='$'
16                                 \ contains=sensorsTodo,@Spell
19 syn keyword sensorsKeyword      bus chip label compute ignore set
21 syn region  sensorsName         display oneline
22                                 \ start=+"+ skip=+\\\\\|\\"+ end=+"+
23                                 \ contains=sensorsNameSpecial
24 syn match   sensorsName         display '\w\+'
26 syn match   sensorsNameSpecial  display '\\["\\rnt]'
28 syn match   sensorsLineContinue '\\$'
30 syn match   sensorsNumber       display '\d*.\d\+\>'
32 syn match   sensorsRealWorld    display '@'
34 syn match   sensorsOperator     display '[+*/-]'
36 syn match   sensorsDelimiter    display '[()]'
38 hi def link sensorsTodo         Todo
39 hi def link sensorsComment      Comment
40 hi def link sensorsKeyword      Keyword
41 hi def link sensorsName         String
42 hi def link sensorsNameSpecial  SpecialChar
43 hi def link sensorsLineContinue Special
44 hi def link sensorsNumber       Number
45 hi def link sensorsRealWorld    Identifier
46 hi def link sensorsOperator     Normal
47 hi def link sensorsDelimiter    Normal
49 let b:current_syntax = "sensors"
51 let &cpo = s:cpo_save
52 unlet s:cpo_save