diff options
Diffstat (limited to 'runtime/syntax/man.vim')
| -rw-r--r-- | runtime/syntax/man.vim | 12 | 
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 | 
