aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax
diff options
context:
space:
mode:
authorGabriel Holodak <gthepiper@gmail.com>2017-11-10 23:27:00 -0500
committerGabriel Holodak <gthepiper@gmail.com>2017-12-27 23:27:14 -0500
commit0446d4d6916d27041de5ac24ba0c741ae4ad5a39 (patch)
treedb2f0d82703d4934db530b3bec710105090adf4a /runtime/syntax
parent061b942dc07c5e63186b02fa2c89ae22881fbbdf (diff)
downloadrneovim-0446d4d6916d27041de5ac24ba0c741ae4ad5a39.tar.gz
rneovim-0446d4d6916d27041de5ac24ba0c741ae4ad5a39.tar.bz2
rneovim-0446d4d6916d27041de5ac24ba0c741ae4ad5a39.zip
Highlight backspaced characters
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/man.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/syntax/man.vim b/runtime/syntax/man.vim
index 0975b160ae..9eb613169c 100644
--- a/runtime/syntax/man.vim
+++ b/runtime/syntax/man.vim
@@ -18,6 +18,18 @@ highlight default link manOptionDesc Constant
highlight default link manReference PreProc
highlight default link manSubHeading Function
+function! s:init_highlight_groups()
+ highlight default manUnderline cterm=underline gui=underline
+ highlight default manBold cterm=bold gui=bold
+endfunction
+
+augroup man_init_highlight_groups
+ autocmd!
+ autocmd ColorScheme * call s:init_highlight_groups()
+augroup END
+
+call s:init_highlight_groups()
+
if &filetype != 'man'
" May have been included by some other filetype.
finish