This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/yaml
2019-11-14 13:13:58 +01:00
..
packages.el
README.org Update YAML layer docs to include the yaml-yamllint flycheck checker. 2019-11-14 13:13:58 +01:00

YAML layer

Description

This layer provides support for the YAML file format.

Features:

  • Syntax highlighting
  • Syntax checking via flycheck

Install

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.

Syntax checking with flycheck

Flycheck checks YAML files with either:

  • yaml-yamllint (requires yamllint)
  • yaml-jsyaml (requires the node-js package js-yaml)
  • or yaml-ruby (requires that ruby is installed on your system)

The flycheck YAML documentation can be found at the flycheck website.