There are several syntax highlighting options available for SCM 
blame/annotate outputs (e.g., "CVSAnnotate.vim", "HGAnnotate.vim", 
etc.). However, AFAIK, none of them have the ability to use the 
annotate-style highlighting on the "left" side of the page (where all of 
the SCM info is) and filetype highlighting on the "right" side of the page.

It would be nice if there was some feature that would allow something like:

        :set scmtype=git
        :set filetype=c

That is, an output of "git blame myfile.c | vim -" would get highlighted 
so that the "left" side of the blame output was highlighted matching 
"git blame" rules, and the "right" side of the blame output would use 
standard highlighting rules for c.

Then left/right autodetection would be the next nice feature... That is, 
Vim would have to be able to detect that it's looking at a 
blame/annotate-type file and then detect which SCM format to use on the 
left and which filetype to use on the right.

I have a feeling that such a feature is non-trivial. That being said, I 
think the demand for such a feature is growing.

Thanks --
Ted


-- 
Ted Pavlic <[email protected]>

   Please visit my ALS association page:
         http://web.alsa.org/goto/tedpavlic
   My family appreciates your support in the fight to defeat ALS.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui