An open API service indexing awesome lists of open source software.

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

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.