Hi,
it seems, there's currently no common way how to add vim add-ons (e.g.
syntax files) provided by several packages. Some packages place them in
the versioned folder /usr/share/vim/vimXY, some in
/usr/share/vim/vimfiles. The latter seems to be the better alternative
to me.
However, what's about directory ownership? Should we always add a
dependency to vim-common (and use subpackages containing some small vim
files), or should the package own the affected folders (multiple
ownership like /etc/bash-completion.d)? I found several packages that either
a) add Requires: vim-common, or
b) add %dir %{datadir}/vim/vimfiles/syntax, or
c) just put the syntax files somewhere below %{datadir}/vim without
considering directory ownership, or
d) add the vim files with %doc for manual installation in ~/.vim/syntax
So what's the recommended way to add these kind of add-ons?
Martin
Show replies by date