Home

Awesome

vim-raml

Vim syntax and language settings for RAML

UPDATE

vim-raml is now a part of Vim 8 and NeoVim! You likely don't need this unless you're using Vim 7.x.

About

vim-raml is a superset of Vim's own syntax settings for YAML, as RAML itself is a superset of YAML. Obviously, filetype detection is provided for RAML files as well to make use of the expanded syntax, as well language formatting defaults.

The best way to showcase vim-raml is really just to show it.

This is a RAML file highlighted with Vim's default YAML highlighting, using the popular solarized-dark theme.

<img src="https://github.com/IN3D/vim-raml/blob/master/screenshots/yaml_highlighting.png" height="575">

And this is a RAML file highlighted with vim-raml:

<img src="https://github.com/IN3D/vim-raml/blob/master/screenshots/raml_highlighting.png" height="575">

You'll notice several changes:

Installation

vim-raml doesn't have any strange or esoteric requirements. Provided you're using Vundle, Pathogen or any of the other standard Vim plugin managers. You can install vim-raml exactly how you'd expect.

For completeness, to install via Vundle just add the following into your .vimrc with your other plugins

Plugin 'IN3D/vim-raml'

Then run:

:source %
:PluginInstall

Or for Pathogen:

cd ~/.vim/bundle
git clone https://github.com/IN3D/vim-raml.git

And Pathogen should pick it up the next time Vim is started.

Questions, suggestions, and issues

If you have a question, suggestion, or have found an issue with vim-raml. The best way to bring it to my attention is to open an issue at https://github.com/IN3D/vim-raml/issues.

License

Copyright (c) Eric Hopkins. Distributed under the same terms as Vim itself. See :help license.