summaryrefslogtreecommitdiff
path: root/runtime/syntax/remind.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-30 23:26:57 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-30 23:26:57 +0200
commit89bcfda6834aba724d12554a34b9ed49f5789fd5 (patch)
tree2ffddcadaae9d061e38e17a09b2635ec199eb1dd /runtime/syntax/remind.vim
parent4792255eff03760dca0fd014616532e6d47db364 (diff)
downloadvim-89bcfda6834aba724d12554a34b9ed49f5789fd5.zip
Updated runtime files. Remove version checks for Vim older than 6.0.
Diffstat (limited to 'runtime/syntax/remind.vim')
-rw-r--r--runtime/syntax/remind.vim52
1 files changed, 22 insertions, 30 deletions
diff --git a/runtime/syntax/remind.vim b/runtime/syntax/remind.vim
index 98064e043..8e4e55434 100644
--- a/runtime/syntax/remind.vim
+++ b/runtime/syntax/remind.vim
@@ -13,9 +13,8 @@
" version 0.7: updated email and link
" version 0.6: added THROUGH keyword (courtesy of Ben Orchard)
-if version < 600
- syntax clear
-elseif exists("b:current_syntax")
+" quit when a syntax file was already loaded
+if exists("b:current_syntax")
finish
endif
@@ -48,35 +47,28 @@ syn match remindDates "'[0-9]\{4}[/-][0-9]\{1,2}[/-][0-9]\{1,2}\(@[0-9]\{1,2}[:
syn match remindWarning display excludenl "\S\s\+$"ms=s+1
-if version >= 508 || !exists("did_remind_syn_inits")
- if version < 508
- let did_remind_syn_inits = 1
- command -nargs=+ HiLink hi link <args>
- else
- command -nargs=+ HiLink hi def link <args>
- endif
+command -nargs=+ HiLink hi def link <args>
- HiLink remindCommands Function
- HiLink remindExpiry Repeat
- HiLink remindTag Label
- HiLink remindTimed Statement
- HiLink remindMove Statement
- HiLink remindSpecial Include
- HiLink remindRun Function
- HiLink remindConditional Conditional
- HiLink remindComment Comment
- HiLink remindTimes String
- HiLink remindString String
- HiLink remindDebug Debug
- HiLink remindVar Identifier
- HiLink remindSubst Constant
- HiLink remindAdvanceNumber Number
- HiLink remindDateSeparators Comment
- HiLink remindDates String
- HiLink remindWarning Error
+HiLink remindCommands Function
+HiLink remindExpiry Repeat
+HiLink remindTag Label
+HiLink remindTimed Statement
+HiLink remindMove Statement
+HiLink remindSpecial Include
+HiLink remindRun Function
+HiLink remindConditional Conditional
+HiLink remindComment Comment
+HiLink remindTimes String
+HiLink remindString String
+HiLink remindDebug Debug
+HiLink remindVar Identifier
+HiLink remindSubst Constant
+HiLink remindAdvanceNumber Number
+HiLink remindDateSeparators Comment
+HiLink remindDates String
+HiLink remindWarning Error
- delcommand HiLink
-endif
+delcommand HiLink
let b:current_syntax = "remind"