annotate runtime/syntax/wvdial.vim @ 33160:4ecf54d709b3 v9.0.1862

patch 9.0.1862: Vim9 Garbage Collection issues Commit: https://github.com/vim/vim/commit/e651e110c17656a263dd017b14c85b332163a58d Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Sep 4 07:51:01 2023 +0200 patch 9.0.1862: Vim9 Garbage Collection issues Problem: Vim9 Garbage Collection issues Solution: Class members are garbage collected early leading to use-after-free problems. Handle the garbage collection of classes properly. closes: #13019 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author Christian Brabandt <cb@256bit.org>
date Mon, 04 Sep 2023 08:00:06 +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