annotate runtime/syntax/purifylog.vim @ 9707:be4aaef2651c v7.4.2129

commit https://github.com/vim/vim/commit/3ab14355ed93958433eec58e96ec9bd9a472f2b2 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 30 22:32:11 2016 +0200 patch 7.4.2129 Problem: Memory leak when using timer_start(). (Dominique Pelle) Solution: Don't copy the callback when using a partial.
author Christian Brabandt <cb@256bit.org>
date Sat, 30 Jul 2016 22:45:04 +0200
parents 3fc0f57ecb91
children 43efa4f5a8ea
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: purify log files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Gautam H. Mudunuri <gmudunur@informatica.com>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last Change: 2003 May 11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " Purify header
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn match purifyLogHeader "^\*\*\*\*.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " Informational messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn match purifyLogFIU "^FIU:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn match purifyLogMAF "^MAF:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn match purifyLogMIU "^MIU:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn match purifyLogSIG "^SIG:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match purifyLogWPF "^WPF:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn match purifyLogWPM "^WPM:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match purifyLogWPN "^WPN:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn match purifyLogWPR "^WPR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn match purifyLogWPW "^WPW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn match purifyLogWPX "^WPX:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " Warning messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match purifyLogABR "^ABR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match purifyLogBSR "^BSR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match purifyLogBSW "^BSW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn match purifyLogFMR "^FMR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn match purifyLogMLK "^MLK:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn match purifyLogMSE "^MSE:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn match purifyLogPAR "^PAR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match purifyLogPLK "^PLK:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match purifyLogSBR "^SBR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn match purifyLogSOF "^SOF:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn match purifyLogUMC "^UMC:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn match purifyLogUMR "^UMR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 " Corrupting messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match purifyLogABW "^ABW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn match purifyLogBRK "^BRK:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match purifyLogFMW "^FMW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn match purifyLogFNH "^FNH:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn match purifyLogFUM "^FUM:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn match purifyLogMRE "^MRE:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match purifyLogSBW "^SBW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 " Fatal messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match purifyLogCOR "^COR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match purifyLogNPR "^NPR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn match purifyLogNPW "^NPW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn match purifyLogZPR "^ZPR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn match purifyLogZPW "^ZPW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 " For version 5.8 and later: only when an item doesn't have highlighting yet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 if version >= 508 || !exists("did_purifyLog_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 let did_purifyLog_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 HiLink purifyLogFIU purifyLogInformational
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 HiLink purifyLogMAF purifyLogInformational
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 HiLink purifyLogMIU purifyLogInformational
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 HiLink purifyLogSIG purifyLogInformational
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 HiLink purifyLogWPF purifyLogInformational
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 HiLink purifyLogWPM purifyLogInformational
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 HiLink purifyLogWPN purifyLogInformational
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 HiLink purifyLogWPR purifyLogInformational
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 HiLink purifyLogWPW purifyLogInformational
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 HiLink purifyLogWPX purifyLogInformational
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 HiLink purifyLogABR purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 HiLink purifyLogBSR purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 HiLink purifyLogBSW purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 HiLink purifyLogFMR purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 HiLink purifyLogMLK purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 HiLink purifyLogMSE purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 HiLink purifyLogPAR purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 HiLink purifyLogPLK purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 HiLink purifyLogSBR purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 HiLink purifyLogSOF purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 HiLink purifyLogUMC purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 HiLink purifyLogUMR purifyLogWarning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 HiLink purifyLogABW purifyLogCorrupting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 HiLink purifyLogBRK purifyLogCorrupting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 HiLink purifyLogFMW purifyLogCorrupting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 HiLink purifyLogFNH purifyLogCorrupting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 HiLink purifyLogFUM purifyLogCorrupting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 HiLink purifyLogMRE purifyLogCorrupting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 HiLink purifyLogSBW purifyLogCorrupting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 HiLink purifyLogCOR purifyLogFatal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 HiLink purifyLogNPR purifyLogFatal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 HiLink purifyLogNPW purifyLogFatal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 HiLink purifyLogZPR purifyLogFatal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 HiLink purifyLogZPW purifyLogFatal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 HiLink purifyLogHeader Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 HiLink purifyLogInformational PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 HiLink purifyLogWarning Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 HiLink purifyLogCorrupting Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 HiLink purifyLogFatal Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 let b:current_syntax = "purifylog"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 " vim:ts=8