New syntax files need feedback

bilibop project quidame at
Sun Sep 23 00:16:31 UTC 2012

Hi Vincent

> Have you forwarded this upstream to conky's developers? As I'm not a
> vim user, I don't know whether this file should be installed inside
> the conky package, or with vim instead. If this is to be distributed
> with conky's source package and installed with conky rather than vim,
> please make sure you forward this upstream, and let me know what I'm
> supposed to do with this conky.vim file to integrate conkyrc syntax
> highlighting within vim (where am I supposed to install this file?
> Presumably somewhere in /usr/share/vim? Or will debhelper take care of
> the nitty gritty details?).

No. The vim-runtime binary package is shipped with more than 500 syntax
highlighting files; all come from the Vim source itself (there are a lot of
contributors!). And I think the vim-runtime binary package is the only one
in which vim syntax files should take place. So, you don't have to integrate
conky.vim into the conky package. I just need feedbacks from vim+conky
users and from vim+APT users, about two things:
1. Related files (conkyrc, apt.conf...) are they correctly highlighted ?
    I could answer yes, but: SYNTAX ERRORS are they correctly catched
    and highlighted too ?
2. Related files are they correctly catched by filetype.vim ? (this means:
    ALL related files and ONLY related files)

filetype.vim is used to automatically assign a syntax highlighting file to the
file edited by vim. Filenames, extensions, paths and (rarely) contents are
used to know the filetype (shell script, udev rules...) and then apply the
corresponding highlighting rules stored in a file (respectively sh.vim and
udevrules.vim). For conky, I propose to catch all files with the following
basenames: 'conky.conf', '*.conkyrc', 'conky_*' and 'conkyrc_*'. Seems ok
for you ?

> Due to the freeze, this probably won't be done anytime soon
Maybe I'm wrong, but the add of syntax files in vim-runtime in Wheezy
after the freeze should not conflict with the 'proposed-updates' policy.


You are not a vim user, but if you are curious and/or have some time before
you, download a conkyrc_something from the web, and:
$ mkdir -p ~/.vim/syntax
$ cp .../conky.vim ~/.vim/syntax
$ vim "+syntax on" "+set ft=conky" .../conkyrc_something

More information about the pkg-vim-maintainers mailing list