How can a package install additional syntax files ?
أحمد المحمودي
aelmahmoudy at users.sourceforge.net
Sat Oct 24 16:16:42 UTC 2009
Hello,
I am currently working on a debian package, the upstream tarball
includes a couple of syntax files and an filetype detection script.
The README included with the tarball says to install the syntax files
in ~/.vim/syntax/ & the ftplugin script in ~/.vim/ftdetect/
Yet I am thinking of installing those scripts system wide, so I have a
couple of questions:
1. How to do so ? I found in /usr/share/vim/ that there is a symlink
called 'vimcurrent' pointing to 'vim72'. So should I install to
/usr/share/vim/vimcurrent/... ? What if vim 7.3 comes out one day, and
the user upgrades to vim 7.3, I imagine that vimcurrent will then be
pointing to a 'vim7.3', but I don't think that files installed by my
package will be copied/moved to the new path, right ?
2. I don't see an 'ftdetect' in /usr/share/vim/vimcurrent/, but I
there is an 'ftplugin' folder, should that filetype detection script
be installed in 'ftplugin' ?
--
أحمد المحمودي (Ahmed El-Mahmoudy)
Digital design engineer
GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7
More information about the pkg-vim-maintainers
mailing list