2 " Language: CTRL-H (e.g., ASCII manpages)
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
4 " Last Change: 2005 Jun 20
6 " Existing syntax is kept, this file can be used as an addition
8 " Recognize underlined text: _^Hx
9 syntax match CtrlHUnderline /_\b./ contains=CtrlHHide
11 " Recognize bold text: x^Hx
12 syntax match CtrlHBold /\(.\)\b\1/ contains=CtrlHHide
14 " Hide the CTRL-H (backspace)
15 syntax match CtrlHHide /.\b/ contained
17 " Define the default highlighting.
18 " Only used when an item doesn't have highlighting yet
19 hi def link CtrlHHide Ignore
20 hi def CtrlHUnderline term=underline cterm=underline gui=underline
21 hi def CtrlHBold term=bold cterm=bold gui=bold