Ideas for packaging vim syntax files

André Kelpe fs111 at web.de
Sun Jan 11 14:20:21 UTC 2004


Am So, den 11.01.2004 schrieb Toshio um 14:48:
> Hi,

Hi!

> I'm packaging some syntax files for vim to let it do nice
> indentation/highlighting of the Pyrex language.

Nice idea, this should be done for more of the useful things at
www.vim.org.

> I have two
> points where I'm uncertain of what is the best thing to do:
> 
> 1) I had to edit the installed file:
> /usr/share/vim/vim62/filetype.vim
> to add the association of Pyrex filetype to extension.  Anyone
> know of a safe, portable (across vim versions) way of doing this
> in the postinstall/preun scripts?
> 
> Right now I'm using:
> sed '<PATTERN>' < /usr/share/vim/vim62/filetype.vim
> but this means I can only upgrade a vim62 series package...

The question is: What versions of vim do you want to support? Why do you
want to support version < 6.2 if fedora has no such version?

> 2) Does anyone have suggestions for the appropriate name for such
> a beast?  The upstream tar file is pyrex_vim.tar.gz, but someone
> suggested vim-pyrex might be a better name.  Anyone else have an
> opinion?

I think the type of "vim-extension" should be in the name like
vim-syntax-pyrex.x.y.z.noarch.rpm.

> Thanks,
> -Toshio

regards

André
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040111/21e52ecb/attachment.sig>


More information about the fedora-devel-list mailing list