Greetings:

A number of section headings in help files are not highlighted properly.

For example...
  1. :help undo_ftplugin
  2. See FILE NAME (below) and FUNCTIONS (above) as examples

The syntax/help.vim file can be patched to fix this:

diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index a8d45a4af..cd6f0b56c 100644
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -11,7 +11,7 @@ endif
 let s:cpo_save = &cpo
 set cpo&vim

-syn match helpHeadline         "^[-A-Z .][-A-Z0-9 .()_]*[ \t]\+\*"me=e-1
+syn match helpHeadline         "^[-A-Z .][-A-Z0-9 .()_]*\ze\(\s\+\*\|$\)"
 syn match helpSectionDelim     "^===.*===$"
 syn match helpSectionDelim     "^---.*--$"
 if has("conceal")

This problem can be seen all throughout the help files. This patch
improves the consistency of the help interface, IMHO.

-- 
Jason Franklin

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/5131eac9-1071-8700-b8a9-15d4b2276abd%40quoininc.com.

Attachment: signature.asc
Description: OpenPGP digital signature

Raspunde prin e-mail lui