annotate runtime/syntax/purifylog.vim @ 19534:36ec10251b2b v8.2.0324

patch 8.2.0324: text property not updated correctly when inserting/deleting Commit: https://github.com/vim/vim/commit/12f20038714928bfecdeee31ed1f927324542034 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 26 22:06:00 2020 +0100 patch 8.2.0324: text property not updated correctly when inserting/deleting Problem: Text property not updated correctly when inserting/deleting. Solution: Use the right column when deleting. Make zero-width text properties respect start_incl and end_incl. (Axel Forsman, closes #5696, closes #5679)
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 Feb 2020 22:15:04 +0100
parents 46763b01cd9a
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: 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
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
6 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
7 if exists("b:current_syntax")
7
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 " Purify header
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 syn match purifyLogHeader "^\*\*\*\*.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " Informational messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn match purifyLogFIU "^FIU:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn match purifyLogMAF "^MAF:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn match purifyLogMIU "^MIU:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn match purifyLogSIG "^SIG:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn match purifyLogWPF "^WPF:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn match purifyLogWPM "^WPM:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn match purifyLogWPN "^WPN:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match purifyLogWPR "^WPR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn match purifyLogWPW "^WPW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match purifyLogWPX "^WPX:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " Warning messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn match purifyLogABR "^ABR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match purifyLogBSR "^BSR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match purifyLogBSW "^BSW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match purifyLogFMR "^FMR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match purifyLogMLK "^MLK:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match purifyLogMSE "^MSE:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn match purifyLogPAR "^PAR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn match purifyLogPLK "^PLK:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn match purifyLogSBR "^SBR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn match purifyLogSOF "^SOF:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match purifyLogUMC "^UMC:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match purifyLogUMR "^UMR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 " Corrupting messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn match purifyLogABW "^ABW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn match purifyLogBRK "^BRK:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn match purifyLogFMW "^FMW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match purifyLogFNH "^FNH:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn match purifyLogFUM "^FUM:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match purifyLogMRE "^MRE:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn match purifyLogSBW "^SBW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 " Fatal messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match purifyLogCOR "^COR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match purifyLogNPR "^NPR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn match purifyLogNPW "^NPW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match purifyLogZPR "^ZPR:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match purifyLogZPW "^ZPW:.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
57 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
59 hi def link purifyLogFIU purifyLogInformational
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
60 hi def link purifyLogMAF purifyLogInformational
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
61 hi def link purifyLogMIU purifyLogInformational
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
62 hi def link purifyLogSIG purifyLogInformational
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
63 hi def link purifyLogWPF purifyLogInformational
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
64 hi def link purifyLogWPM purifyLogInformational
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
65 hi def link purifyLogWPN purifyLogInformational
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
66 hi def link purifyLogWPR purifyLogInformational
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
67 hi def link purifyLogWPW purifyLogInformational
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
68 hi def link purifyLogWPX purifyLogInformational
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
70 hi def link purifyLogABR purifyLogWarning
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
71 hi def link purifyLogBSR purifyLogWarning
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
72 hi def link purifyLogBSW purifyLogWarning
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
73 hi def link purifyLogFMR purifyLogWarning
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
74 hi def link purifyLogMLK purifyLogWarning
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
75 hi def link purifyLogMSE purifyLogWarning
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
76 hi def link purifyLogPAR purifyLogWarning
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
77 hi def link purifyLogPLK purifyLogWarning
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
78 hi def link purifyLogSBR purifyLogWarning
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
79 hi def link purifyLogSOF purifyLogWarning
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
80 hi def link purifyLogUMC purifyLogWarning
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
81 hi def link purifyLogUMR purifyLogWarning
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
83 hi def link purifyLogABW purifyLogCorrupting
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
84 hi def link purifyLogBRK purifyLogCorrupting
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
85 hi def link purifyLogFMW purifyLogCorrupting
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
86 hi def link purifyLogFNH purifyLogCorrupting
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
87 hi def link purifyLogFUM purifyLogCorrupting
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
88 hi def link purifyLogMRE purifyLogCorrupting
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
89 hi def link purifyLogSBW purifyLogCorrupting
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
91 hi def link purifyLogCOR purifyLogFatal
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
92 hi def link purifyLogNPR purifyLogFatal
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
93 hi def link purifyLogNPW purifyLogFatal
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
94 hi def link purifyLogZPR purifyLogFatal
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
95 hi def link purifyLogZPW purifyLogFatal
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
97 hi def link purifyLogHeader Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
98 hi def link purifyLogInformational PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
99 hi def link purifyLogWarning Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
100 hi def link purifyLogCorrupting Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
101 hi def link purifyLogFatal Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 let b:current_syntax = "purifylog"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 " vim:ts=8