Ken Takata wrote:

> Some parts of the help are wrongly highlighted.
> E.g:
> 
> todo.txt:118:Patch to make has() check for Vim version and patch at the same 
> time.
> version5.txt:3625:Included VisVim version 1.3a. (Erhardt)
> version6.txt:1502:Add the Vim version number to the viminfo file, useful for 
> debugging.
> version6.txt:4650:Problem:    It's not easy to mark a Vim version as being 
> modified.  The new
> 
> Following patch fixes them:
> 
> --- a/runtime/syntax/help.vim
> +++ b/runtime/syntax/help.vim
> @@ -40,7 +40,7 @@
>  syn match helpNormal         "|.*====*|"
>  syn match helpNormal         "|||"
>  syn match helpNormal         ":|vim:|"       " for :help modeline
> -syn match helpVim            "Vim version [0-9.a-z]\+"
> +syn match helpVim            "\<Vim version [0-9][0-9.a-z]*"
>  syn match helpVim            "VIM REFERENCE.*"
>  syn match helpOption         "'[a-z]\{2,\}'"
>  syn match helpOption         "'t_..'"

Thanks!

-- 
Q:  Why do ducks have flat feet?
A:  To stamp out forest fires.

Q:  Why do elephants have flat feet?
A:  To stamp out flaming ducks.

 /// 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].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui