7
|
1 " Vim syntax file
|
|
2 " Language: Configuration file for WvDial
|
|
3 " Maintainer: Prahlad Vaidyanathan <slime@vsnl.net>
|
|
4 " Last Update: Mon, 15 Oct 2001 09:39:03 Indian Standard Time
|
|
5
|
|
6 " Quit if syntax file is already loaded
|
|
7 if exists("b:current_syntax")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 syn match wvdialComment "^;.*$"lc=1
|
|
12 syn match wvdialComment "[^\\];.*$"lc=1
|
|
13 syn match wvdialSection "^\s*\[.*\]"
|
|
14 syn match wvdialValue "=.*$"ms=s+1
|
|
15 syn match wvdialValue "\s*[^ ;"' ]\+"lc=1
|
|
16 syn match wvdialVar "^\s*\(Inherits\|Modem\|Baud\|Init.\|Phone\|Area\ Code\|Dial\ Prefix\|Dial\ Command\|Login\|Login\| Prompt\|Password\|Password\ Prompt\|PPPD\ Path\|Force\ Address\|Remote\ Name\|Carrier\ Check\|Stupid\ [Mm]ode\|New\ PPPD\|Default\ Reply\|Auto\ Reconnect\|SetVolume\|Username\)"
|
|
17 syn match wvdialEqual "="
|
|
18
|
|
19 " The default highlighting
|
|
20 hi def link wvdialComment Comment
|
|
21 hi def link wvdialSection PreProc
|
|
22 hi def link wvdialVar Identifier
|
|
23 hi def link wvdialValue String
|
|
24 hi def link wvdialEqual Statement
|
|
25
|
|
26 let b:current_syntax = "wvdial"
|
|
27
|
|
28 "EOF vim: tw=78:ft=vim:ts=8
|