Re: Another changelog rant
Previously Antti-Juhani Kaijanaho wrote:
> If the name ends with "debian/changelog", it is most likely a Debian changelog.
That doesn't work for /usr/share/doc/*/changelog* though. vim checks
if the first line contains the string "; urgency=" to tell them appart:
" Changelog
au BufNewFile,BufRead changelog.Debian,changelog.dch setf debchangelog
au BufNewFile,BufRead [cC]hange[lL]og if getline(1) =~ '; urgency='
\| setf debchangelog | else | setf changelog | endif
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@wiggy.net http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Reply to: