https://github.com/oddbloke/vim-jenkins-job-builder
Vim plugin to enhance working with Jenkins Job Builder YAML files
https://github.com/oddbloke/vim-jenkins-job-builder
jenkins jenkins-job-builder vim yaml
Last synced: about 2 months ago
JSON representation
Vim plugin to enhance working with Jenkins Job Builder YAML files
- Host: GitHub
- URL: https://github.com/oddbloke/vim-jenkins-job-builder
- Owner: OddBloke
- License: gpl-3.0
- Created: 2017-11-28T15:14:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-28T17:56:56.000Z (over 8 years ago)
- Last Synced: 2025-03-21T09:30:43.802Z (over 1 year ago)
- Topics: jenkins, jenkins-job-builder, vim, yaml
- Language: Vim script
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-jenkins-job-builder
Vim plugin to enhance working with [Jenkins Job
Builder](https://docs.openstack.org/infra/jenkins-job-builder/) YAML
files.
Currently, it provides the following functionality:
* custom folding for JJB YAML files
## Basic Usage
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`:
```vim
autocmd FileType yaml setlocal filetype=jjb_yaml
```
Alternatively, you could configure autodetection of JJB YAML files; see
below.
## Basic Configuration
To configure autodetection of JJB YAML files, set this in your .vimrc:
```vim
let g:jenkins_job_builder_autodetect = 1
```
## Installation
This repo should be compatible with your favourite vim plugin
installation method.