comparison runtime/syntax/remind.vim @ 10048:43efa4f5a8ea

commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 30 23:26:57 2016 +0200 Updated runtime files. Remove version checks for Vim older than 6.0.
author Christian Brabandt <cb@256bit.org>
date Tue, 30 Aug 2016 23:30:09 +0200
parents 873eae260c97
children 46763b01cd9a
comparison
equal deleted inserted replaced
10047:a62862410ca1 10048:43efa4f5a8ea
11 " 11 "
12 " Changelog 12 " Changelog
13 " version 0.7: updated email and link 13 " version 0.7: updated email and link
14 " version 0.6: added THROUGH keyword (courtesy of Ben Orchard) 14 " version 0.6: added THROUGH keyword (courtesy of Ben Orchard)
15 15
16 if version < 600 16 " quit when a syntax file was already loaded
17 syntax clear 17 if exists("b:current_syntax")
18 elseif exists("b:current_syntax")
19 finish 18 finish
20 endif 19 endif
21 20
22 " shut case off. 21 " shut case off.
23 syn case ignore 22 syn case ignore
46 " This will match trailing whitespaces that seem to break rem2ps. 45 " This will match trailing whitespaces that seem to break rem2ps.
47 " Courtesy of Michael Dunn. 46 " Courtesy of Michael Dunn.
48 syn match remindWarning display excludenl "\S\s\+$"ms=s+1 47 syn match remindWarning display excludenl "\S\s\+$"ms=s+1
49 48
50 49
51 if version >= 508 || !exists("did_remind_syn_inits") 50 command -nargs=+ HiLink hi def link <args>
52 if version < 508
53 let did_remind_syn_inits = 1
54 command -nargs=+ HiLink hi link <args>
55 else
56 command -nargs=+ HiLink hi def link <args>
57 endif
58 51
59 HiLink remindCommands Function 52 HiLink remindCommands Function
60 HiLink remindExpiry Repeat 53 HiLink remindExpiry Repeat
61 HiLink remindTag Label 54 HiLink remindTag Label
62 HiLink remindTimed Statement 55 HiLink remindTimed Statement
63 HiLink remindMove Statement 56 HiLink remindMove Statement
64 HiLink remindSpecial Include 57 HiLink remindSpecial Include
65 HiLink remindRun Function 58 HiLink remindRun Function
66 HiLink remindConditional Conditional 59 HiLink remindConditional Conditional
67 HiLink remindComment Comment 60 HiLink remindComment Comment
68 HiLink remindTimes String 61 HiLink remindTimes String
69 HiLink remindString String 62 HiLink remindString String
70 HiLink remindDebug Debug 63 HiLink remindDebug Debug
71 HiLink remindVar Identifier 64 HiLink remindVar Identifier
72 HiLink remindSubst Constant 65 HiLink remindSubst Constant
73 HiLink remindAdvanceNumber Number 66 HiLink remindAdvanceNumber Number
74 HiLink remindDateSeparators Comment 67 HiLink remindDateSeparators Comment
75 HiLink remindDates String 68 HiLink remindDates String
76 HiLink remindWarning Error 69 HiLink remindWarning Error
77 70
78 delcommand HiLink 71 delcommand HiLink
79 endif
80 72
81 let b:current_syntax = "remind" 73 let b:current_syntax = "remind"
82 74
83 " vim: ts=8 sw=2 75 " vim: ts=8 sw=2