annotate runtime/syntax/ctrlh.vim @ 2913:07647a0545c9 v7.3.229

updated for version 7.3.229 Problem: Using fork() makes gvim crash on Mac when build with CoreFoundation. Solution: Disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka)
author Bram Moolenaar <bram@vim.org>
date Mon, 20 Jun 2011 00:53:15 +0200
parents 7033303ea0c0
children 4027cefc2aab
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: CTRL-H (e.g., ASCII manpages)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
4 " Last Change: 2005 Jun 20
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Existing syntax is kept, this file can be used as an addition
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Recognize underlined text: _^Hx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 syntax match CtrlHUnderline /_\b./ contains=CtrlHHide
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " Recognize bold text: x^Hx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 syntax match CtrlHBold /\(.\)\b\1/ contains=CtrlHHide
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " Hide the CTRL-H (backspace)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syntax match CtrlHHide /.\b/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " Define the default highlighting.
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
18 " Only used when an item doesn't have highlighting yet
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
19 hi def link CtrlHHide Ignore
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
20 hi def CtrlHUnderline term=underline cterm=underline gui=underline
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
21 hi def CtrlHBold term=bold cterm=bold gui=bold
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " vim: ts=8