Skip to content

mrk21/yaml-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

mrk21Yuichi Murata
and
Yuichi Murata
Jun 23, 2014
509eef5 · Jun 23, 2014

History

16 Commits
Jun 17, 2014
Jun 21, 2014
Jun 23, 2014
Jun 23, 2014
Jun 19, 2014
Jun 17, 2014
Jun 17, 2014
Jun 23, 2014
Jun 17, 2014

Repository files navigation

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'

About

YAML syntax/indent plugin for Vim

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published