mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
fix(man.vim): reduce false positives for manReference #14242
Co-authored-by: Anmol Sethi <hi@nhooyr.io>
This commit is contained in:
@@ -6,7 +6,7 @@ if exists('b:current_syntax')
|
||||
endif
|
||||
|
||||
syntax case ignore
|
||||
syntax match manReference display '[^()[:space:]]\+([0-9nx][a-z]*)'
|
||||
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.*$'
|
||||
|
||||
Reference in New Issue
Block a user