On Tue, Jan 27, 2009 at 06:12:39AM -0800, Ben Fritz wrote: > On Jan 26, 9:30 am, Ted Pavlic <[email protected]> wrote: > > > 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. > > While it is possible in some cases to highlight certain areas of a > file using rules for a different filetype (http://vim.wikia.com/wiki/ > Different_syntax_highlighting_within_regions_of_a_file) what you are > asking is currently not possible in Vim. > > [ ... ] > > All this being said, you could probably make some sort of plugin to > get functionality similar to what you want. After reading in the > "blame" output, you could fairly easily split the file into a left and > right window, with the left window containing only the blame output > and the right containing only the un-annotated file.
Ideally, wouldn't annotate look very much like the 'number' option in terms of how it's put on the screen? They're both per-line metadata, after all. Danek --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
