Bug#524338: vim-runtime: Wrong check of c_syntax_for_h & ch_syntax_for_h variables to detect filetype of .h files

James Vega jamessan at debian.org
Thu Apr 16 13:53:40 UTC 2009


tag 524338 fixed-upstream
thanks

On Thu, Apr 16, 2009 at 01:20:47PM +0200, Jérémy Dufour wrote:
> In /usr/share/vim/vim72/filetype.vim, the function s:FTheader checks if
> the "c_syntax_for_h" and "ch_syntax_for_h" are defined but only the
> local version of those variables, which will never exist. So, even if you
> set c_syntax_for_h globally, .h files are still considered as cpp and
> not c. To check the problem, just try to edit a .h file and check value
> of filetype (it should be "c" if c_syntax_for_h is defined).

This is fixed upstream and will be included in the next upload.  Thanks
for filing the bug as that will remind me that I wanted to update the
runtime files (for this and some other fixes).

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090416/db0040c9/attachment.pgp>


More information about the pkg-vim-maintainers mailing list