I wrote a custom software using its own configuration files under /etc
. The software is built in a Debian package and delivered by a custom repository.
In order to provide a nice syntax highlighting in vim I wrote all the necessary files to nicely highlight my own config files. If I place them under ~/.vim/syntax
and add a line to ~/.vim/filetype.vim
everything works fine.
Now my question is: How can I package my vim extension inside my Debian package so that during installation the vim syntax highlighting is installed system wide and not only for the installing user (root)?