aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax
diff options
context:
space:
mode:
authorGabriel Holodak <gthepiper@gmail.com>2017-12-24 12:16:58 -0500
committerGabriel Holodak <gthepiper@gmail.com>2017-12-27 23:28:04 -0500
commiteb44519b5debf740f692bb4ea19ad83b29749484 (patch)
treef8d07b04904fb5aab20e10110eee33f95af081dd /runtime/syntax
parent134c0f0bdb50b16d443b103fc1a81c9ae5c7c017 (diff)
downloadrneovim-eb44519b5debf740f692bb4ea19ad83b29749484.tar.gz
rneovim-eb44519b5debf740f692bb4ea19ad83b29749484.tar.bz2
rneovim-eb44519b5debf740f692bb4ea19ad83b29749484.zip
Address PR comments
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/man.vim15
1 files changed, 3 insertions, 12 deletions
diff --git a/runtime/syntax/man.vim b/runtime/syntax/man.vim
index 0544fb29e2..b8e605cb9a 100644
--- a/runtime/syntax/man.vim
+++ b/runtime/syntax/man.vim
@@ -18,18 +18,9 @@ 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
- highlight default manItalic cterm=italic gui=italic
-endfunction
-
-augroup man_init_highlight_groups
- autocmd!
- autocmd ColorScheme * call s:init_highlight_groups()
-augroup END
-
-call s:init_highlight_groups()
+highlight default manUnderline cterm=underline gui=underline
+highlight default manBold cterm=bold gui=bold
+highlight default manItalic cterm=italic gui=italic
if &filetype != 'man'
" May have been included by some other filetype.