Vim plugin to enhance working with Jenkins Job Builder YAML files.
Currently, it provides the following functionality:
- custom folding for JJB YAML files
To avoid conflicting with regular YAML files, the plugin defines a new file type, "jjb_yaml". All customisations are applied to this file type.
By default, it is up to you to set this file type appropriately. If you
want it to apply to all YAML files, you can add this to your .vimrc
:
autocmd FileType yaml setlocal filetype=jjb_yaml
Alternatively, you could configure autodetection of JJB YAML files; see below.
To configure autodetection of JJB YAML files, set this in your .vimrc:
let g:jenkins_job_builder_autodetect = 1
This repo should be compatible with your favourite vim plugin installation method.