Skip to content
YAML syntax/indent plugin for Vim
Branch: master
Clone or download
mrk21 and Yuichi Murata Fix typo.
Latest commit 509eef5 Jun 23, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.bundle Introduced the vspec. Jun 17, 2014
after Added basic syntax highlight settings. Jun 21, 2014
autoload Fix typo. Jun 23, 2014
t Fix typo. Jun 23, 2014
.gitignore Fix the .gitignore. Jun 19, 2014
Gemfile Introduced the vspec. Jun 17, 2014
LICENSE Initial commit Jun 17, 2014
README.md Update README.md Jun 23, 2014
Rakefile Introduced the vspec. Jun 17, 2014

README.md

yaml-vim

YAML syntax/indent plugin for Vim.

By this plugin introducing, you can write as the indent style shown below:

---
# The block sequences with the block mappings in the same line:
- name: create file
  command: >
    creates=/path/to/file
    touch /path/to/file

# Not exists spaces after the block sequences symbol:
-
  name: install packages
  apt: name={{item}} state=present
  with_items:
    - package1
    - package2
---
# The block scalar headers on the top domain:
>
  A value of the block scalar.

And added the syntax highlighting listed below:

  • The block scalar headers: > and |
  • Not exists spaces after the block sequences symbol: -

Usage

All you have to do is to write the loading settings of this plugin to the .vimrc.

NeoBundle 'mrk21/yaml-vim'
You can’t perform that action at this time.