annotate runtime/syntax/wvdial.vim @ 18570:0ac88fdbf089 v8.1.2279

patch 8.1.2279: computation of highlight attributes is too complicated Commit: https://github.com/vim/vim/commit/dbd4316806389e3c2240b48cc6c4d209cb1665fd Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 9 21:28:14 2019 +0100 patch 8.1.2279: computation of highlight attributes is too complicated Problem: Computation of highlight attributes is too complicated. Solution: Simplify the attribute computation and make it more consistent. (closes #5190) Fix that 'combine' set to zero doesn't work.
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 Nov 2019 21:30:03 +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