Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrk21/yaml-vim
YAML syntax/indent plugin for Vim
https://github.com/mrk21/yaml-vim
vim vim-plugin yaml
Last synced: 10 days ago
JSON representation
YAML syntax/indent plugin for Vim
- Host: GitHub
- URL: https://github.com/mrk21/yaml-vim
- Owner: mrk21
- License: mit
- Created: 2014-06-17T08:01:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-01T11:59:55.000Z (over 10 years ago)
- Last Synced: 2024-10-13T13:36:19.945Z (25 days ago)
- Topics: vim, vim-plugin, yaml
- Language: VimL
- Size: 238 KB
- Stars: 38
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
yaml-vim
========YAML syntax/indent plugin for Vim.
By this plugin introducing, you can write as the indent style shown below:
```YAML
---
# 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
``````YAML
---
# 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`.
```VimL
NeoBundle 'mrk21/yaml-vim'
```