vim-registry(5) | vim addons | vim-registry(5) |
vim-registry - syntax for vim-addons registry files
PACKAGE-NAME.yaml
A registry file is a multi-document YAML file (i.e. it can be composed by several different YAML documents separated by “---” lines). Each YAML document represents a registry entry, that is the information describing a single addon.
Ideally, the registry directory contains one file per package shipping addons; with a filename obeying to the convention PACKAGE-NAME.yaml. Hence a single package can contribute to the registry with multiple entries described in a single YAML file.
For example, the “vim-scripts” package should ship a single /usr/share/vim/registry/vim-scripts.yaml file, containing one YAML document per shipped addon. The first lines of such file can look like the following:
addon: alternate description: "alternate pairing files (e.g. .c/.h) with short ex-commands" basedir: /usr/share/vim-scripts/ disabledby: "let loaded_alternateFile = 1" files:
- plugin/a.vim
- doc/alternate.txt --- addon: whatdomain description: "query the meaning of a Top Level Domain" basedir: /usr/share/vim-scripts/ disabledby: "let loaded_whatdomain = 1" files:
- plugin/whatdomain.vim ---
Each registry entry may contain the following fields, to be typeset according to the YAML specification:
James Vega <jamessan@debian.org>
Copyright (C) 2010 James Vega
This program is free software, you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
January 2010 | Debian Project |