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")
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"