feat(man.vim): list command flags in "gO" outline #17558

This commit is contained in:
Joshua Cao
2022-05-16 04:49:44 -07:00
committed by GitHub
parent 7adecbcd29
commit 14d653b421
2 changed files with 7 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ 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\+'
syntax match manOptionDesc display '^\s\+\(\%(+\|-\)\S\+,\s\+\)*\%(+\|-\)\S\+'
highlight default link manHeader Title
highlight default link manSectionHeading Statement