Hi,

I have updated the patch.
https://gist.github.com/3129572
(Hg comment lines begin with 'HG:' not 'HG: '.)

The same file (but not a patch) is also available at
https://github.com/k-takata/hg-vim .



2012/07/18 21:51:25 UTC+9 Ingo Karkat:
> Dan LaMotte has already written such a file, but the attempt to get it 
> included
> apparently fizzled out.
>     http://vim.1045645.n5.nabble.com/hg-commit-syntax-file-td1205296.html

Thanks for your comment.
Hmm, it seems that Dan's file was not included because of copyright problem.

> Superficially, yours looks similar to his, but maybe you'll find something in
> there that you haven't considered yet. I'd definitely welcome an inclusion in
> the Vim runtime.

I looked into his file.
I think mine is a little bit simpler and it's enough.
An obvious difference can be seen when coloring the following lines:

HG: added file1
HG: changed file2
HG: removed file3

Mine:
 The status (added, changed or removed) and the file name use the same color.
 Each status uses a different color. (same as svn.vim)

His:
 The status and the file name use different colors.
 All status use the same color.

Regards,
Ken Takata

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

Raspunde prin e-mail lui