How can a package install additional syntax files ?

James Vega jamessan at debian.org
Sun Oct 25 19:24:13 UTC 2009


On Sun, Oct 25, 2009 at 03:13:56PM -0400, James Vega wrote:
> On Sat, Oct 24, 2009 at 06:16:42PM +0200, أحمد المحمودي wrote:
> >   The README included with the tarball says to install the syntax files 
> >   in ~/.vim/syntax/ & the ftplugin script in ~/.vim/ftdetect/
> 
> Either their documentation is wrong or there's some confusion.  An
> ftplugin script is a plugin, providing functionality other than syntax
> or indentation, that is only used for a specific filetype.  An ftdetect
> script gives Vim additional information for determining which filetype
> to use for a specific file.
> 
> >   Yet I am thinking of installing those scripts system wide, so I have a 
> >   couple of questions:
> 
> The preferred method is laid out in the Vim Addon Policy[0].

It would help if I had included that reference. :)

[0] - http://pkg-vim.alioth.debian.org/vim-policy.html/

-- 
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: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20091025/8d25def1/attachment.pgp>


More information about the pkg-vim-maintainers mailing list