annotate runtime/syntax/wvdial.vim @ 26841:48d6f187e9c0 v8.2.3949

patch 8.2.3949: using freed memory with /%V Commit: https://github.com/vim/vim/commit/4c13e5e6763c6eb36a343a2b8235ea227202e952 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 30 14:49:43 2021 +0000 patch 8.2.3949: using freed memory with /\%V Problem: Using freed memory with /\%V. Solution: Get the line again after getvvcol().
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Dec 2021 16:00:05 +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