Jason Franklin wrote:

> 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.

Thanks.  I'll include and try it out to check for any trouble.

-- 
hundred-and-one symptoms of being an internet addict:
183. You move your coffeemaker next to your computer.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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/202003062131.026LVh7o001718%40masaka.moolenaar.net.

Raspunde prin e-mail lui