" Maintainer: Anmol Sethi " Previous Maintainer: SungHyun Nam if exists('b:current_syntax') finish endif syntax case ignore syntax match manReference display '[^()[:space:]]\+(\%([0-9][a-z]*\|[nlpox]\))' syntax match manSectionHeading display '^\S.*$' syntax match manHeader display '^\%1l.*$' syntax match manSubHeading display '^ \{3\}\S.*$' syntax match manOptionDesc display '^\s\+\%(+\|-\)\S\+' highlight default link manHeader Title highlight default link manSectionHeading Statement highlight default link manOptionDesc Constant highlight default link manReference PreProc highlight default link manSubHeading Function 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. finish endif if get(b:, 'man_sect', '') =~# '^[023]' syntax case match syntax include @c $VIMRUNTIME/syntax/c.vim syntax match manCFuncDefinition display '\<\h\w*\>\ze\(\s\|\n\)*(' contained syntax match manLowerSentence /\n\s\{7}\l.\+[()]\=\%(\:\|.\|-\)[()]\=[{};]\@