filetype.vim

Bram Moolenaar Bram@moolenaar.net
Wed, 16 Mar 2005 12:32:43 +0100


Pierre -

> please consider the attached patch. it adds files 
> changelog.Debian.gz to the debchangelog type, since the later check 
> (that tries to know if the getline(1) has an urgency in it) seems to 
> fail, I guess because it is gzipped.
> 
> with that simple patch, the detection is correct.

This should not be required.  The gzip.vim plugin, which makes it
possible to edit .gz files, already takes care of it for all types of
file.  Is there something wrong with your gzip.vim?

- Bram

-- 
BRIDGEKEEPER: What is your favorite editor?
GAWAIN:       Emacs ...  No, Viiiiiiiiiiimmmmmmm!
           "Monty Python and the Holy editor wars" PYTHON (MONTY) SOFTWARE LTD

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///