annotate runtime/syntax/wvdial.vim @ 17774:fa8b9059947b

Added tag v8.1.1883 for changeset e162a54e4c495b695ab2405415ae4b9a40e83698
author Bram Moolenaar <Bram@vim.org>
date Sun, 18 Aug 2019 18:00:04 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Configuration file for WvDial
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Prahlad Vaidyanathan <slime@vsnl.net>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last Update: Mon, 15 Oct 2001 09:39:03 Indian Standard Time
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Quit if syntax file is already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 if exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 syn match wvdialComment "^;.*$"lc=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 syn match wvdialComment "[^\\];.*$"lc=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 syn match wvdialSection "^\s*\[.*\]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syn match wvdialValue "=.*$"ms=s+1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn match wvdialValue "\s*[^ ;"' ]\+"lc=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn match wvdialEqual "="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 " The default highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 hi def link wvdialComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 hi def link wvdialSection PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 hi def link wvdialVar Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 hi def link wvdialValue String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 hi def link wvdialEqual Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 let b:current_syntax = "wvdial"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 "EOF vim: tw=78:ft=vim:ts=8