Skip to content

YAML support for Sublime's LSP plugin using yaml-language-server

License

Notifications You must be signed in to change notification settings

sublimelsp/LSP-yaml

Repository files navigation

LSP-yaml

YAML support for Sublime's LSP plugin. Basically a fork of sublimelsp/LSP-json.

Uses yaml-language-server to provide validation, formatting and other features for YAML files. See linked repository for more information.

By default, schemas are automatically retrieved from schemastore.org.

Install

  1. Open the command palette and run Package Control: Install Package, then select LSP
  2. Install LSP-yaml from Package Control
  3. Restart Sublime

Configuration

Open configuration file using command palette with Preferences: LSP-yaml Settings command or opening it from the Sublime menu (Preferences > Package Settings > LSP > Servers > LSP-yaml).

Development

Clone this repository into your Packages directory. Open the command palette and run Package Control: Satisfy Dependencies.