2015-12-02 14:23:39 +00:00
|
|
|
#+TITLE: YAML layer
|
2015-08-10 12:45:21 +00:00
|
|
|
|
2018-09-19 03:54:47 +00:00
|
|
|
* Table of Contents :TOC_4_gh:noexport:
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#description][Description]]
|
2017-10-04 08:13:01 +00:00
|
|
|
- [[#features][Features:]]
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#install][Install]]
|
|
|
|
- [[#syntax-checking-with-flycheck][Syntax checking with flycheck]]
|
2015-08-10 12:45:21 +00:00
|
|
|
|
|
|
|
* Description
|
2017-10-04 08:13:01 +00:00
|
|
|
This layer provides support for the YAML file format.
|
|
|
|
|
|
|
|
** Features:
|
|
|
|
- Syntax highlighting
|
|
|
|
- Syntax checking via [[http://www.flycheck.org/en/latest/languages.html#yaml][flycheck]]
|
2015-08-10 12:45:21 +00:00
|
|
|
|
|
|
|
* Install
|
2016-01-06 05:21:55 +00:00
|
|
|
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
|
|
|
|
add =yaml= to the existing =dotspacemacs-configuration-layers= list in this
|
|
|
|
file.
|
2016-09-16 16:49:29 +00:00
|
|
|
|
|
|
|
* Syntax checking with flycheck
|
|
|
|
Flycheck checks YAML with yaml-jsyaml or yaml-ruby. The flycheck YAML
|
|
|
|
documentation can be found at the [[http://www.flycheck.org/en/latest/languages.html#yaml][flycheck website]].
|
2017-10-04 08:13:01 +00:00
|
|
|
|
|
|
|
Please notice that yaml-jsyaml requires node-js package js-yaml and that yaml-ruby requires ruby installed
|
|
|
|
on your system to work.
|