codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: sensors.conf(5) - libsensors configuration file3" Previous Maintainer: Nikolai Weibull <now@bitwi.se>4" Latest Revision: 2006-04-195 6if exists("b:current_syntax")7 finish8endif9 10let s:cpo_save = &cpo11set cpo&vim12 13syn keyword sensorsTodo contained TODO FIXME XXX NOTE14 15syn region sensorsComment display oneline start='#' end='$'16 \ contains=sensorsTodo,@Spell17 18 19syn keyword sensorsKeyword bus chip label compute ignore set20 21syn region sensorsName display oneline22 \ start=+"+ skip=+\\\\\|\\"+ end=+"+23 \ contains=sensorsNameSpecial24syn match sensorsName display '\w\+'25 26syn match sensorsNameSpecial display '\\["\\rnt]'27 28syn match sensorsLineContinue '\\$'29 30syn match sensorsNumber display '\d*.\d\+\>'31 32syn match sensorsRealWorld display '@'33 34syn match sensorsOperator display '[+*/-]'35 36syn match sensorsDelimiter display '[()]'37 38hi def link sensorsTodo Todo39hi def link sensorsComment Comment40hi def link sensorsKeyword Keyword41hi def link sensorsName String42hi def link sensorsNameSpecial SpecialChar43hi def link sensorsLineContinue Special44hi def link sensorsNumber Number45hi def link sensorsRealWorld Identifier46hi def link sensorsOperator Normal47hi def link sensorsDelimiter Normal48 49let b:current_syntax = "sensors"50 51let &cpo = s:cpo_save52unlet s:cpo_save53 