annotate runtime/syntax/wvdial.vim @ 31718:bcedaa2fcb7b v9.0.1191

patch 9.0.1191: some Bazel files are not recognized Commit: https://github.com/vim/vim/commit/3213952966896ffb1d8fa186bcf8c43359fca0f0 Author: Keith Smiley <keithbsmiley@gmail.com> Date: Fri Jan 13 15:35:17 2023 +0000 patch 9.0.1191: some Bazel files are not recognized Problem: Some Bazel files are not recognized. Solution: Add an extra Bazel pattern. (Keith Smily, closes https://github.com/vim/vim/issues/11807)
author Bram Moolenaar <Bram@vim.org>
date Fri, 13 Jan 2023 16:45:02 +0100
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