[ANNOUNCE] VIM syntax script for highlighting BZR commit files

Gustavo Niemeyer gustavo at niemeyer.net
Tue Feb 6 17:27:39 GMT 2007


Hey Martin,

> or 'bzr cat' and then vimdiff.  It would be nice to get vim functions
> that did that automatically - or maybe even brought up a list of all
> changed files in a quickfix kind of setup.

I use that:

au! BufRead,StdinReadPost *
    \ if getline(1) =~ '^=== \(modified\|added\|removed\|renamed\)'
    \ | setf diff | endif

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the bazaar mailing list