summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/ctrlh.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/ctrlh.vim')
-rw-r--r--runtime/syntax/ctrlh.vim20
1 files changed, 5 insertions, 15 deletions
diff --git a/runtime/syntax/ctrlh.vim b/runtime/syntax/ctrlh.vim
index 715c2c00ee..b4bf3477e6 100644
--- a/runtime/syntax/ctrlh.vim
+++ b/runtime/syntax/ctrlh.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: CTRL-H (e.g., ASCII manpages)
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2001 Apr 25
+" Last Change: 2005 Jun 20
" Existing syntax is kept, this file can be used as an addition
@@ -15,19 +15,9 @@ syntax match CtrlHBold /\(.\)\b\1/ contains=CtrlHHide
syntax match CtrlHHide /.\b/ contained
" Define the default highlighting.
-" For version 5.7 and earlier: only when not done already
-" For version 5.8 and later: only when an item doesn't have highlighting yet
-if version >= 508 || !exists("did_ctrlh_syntax_inits")
- if version < 508
- let did_ctrlh_syntax_inits = 1
- hi link CtrlHHide Ignore
- hi CtrlHUnderline term=underline cterm=underline gui=underline
- hi CtrlHBold term=bold cterm=bold gui=bold
- else
- hi def link CtrlHHide Ignore
- hi def CtrlHUnderline term=underline cterm=underline gui=underline
- hi def CtrlHBold term=bold cterm=bold gui=bold
- endif
-endif
+" Only used when an item doesn't have highlighting yet
+hi def link CtrlHHide Ignore
+hi def CtrlHUnderline term=underline cterm=underline gui=underline
+hi def CtrlHBold term=bold cterm=bold gui=bold
" vim: ts=8