Sublime Text
oxyaml is a drop-in replacement for yaml-language-server. Existing yaml.* settings (yaml.schemas, yaml.format.enable, yaml.kubernetesCRDStore.enable, etc.) keep working unchanged without Node.js.
Status: JSON syntax is valid; Sublime Text integration is untested in this environment (
sublis not installed locally).
Prerequisites
Install oxyaml and make sure oxyaml is on your PATH.
Install the LSP package from Package Control.
Option 1: Standalone LSP client config (no Node.js / no LSP-yaml)
Open Preferences: LSP Server Configurations from the Command Palette (Packages/User/LanguageServers.sublime-settings) and add:
{ "oxyaml": { "enabled": true, "command": ["oxyaml", "--stdio"], "selector": "(source.yml | source.yaml) - (source.yaml.go | source.yaml.helm | source.yaml.esphome | source.yaml.pipeline.github-actions)", "schemes": ["file", "buffer", "res", "json-schema"], "settings": {} }}Any yaml.* options placed under "settings" use the exact same keys as LSP-yaml / yaml-language-server.
Option 2: Override LSP-yaml
If you already have LSP-yaml configured, open Preferences: LSP-yaml Settings (Packages/User/LSP-yaml.sublime-settings) and override "command" (one-line change from ["${node_bin}", "${server_path}", "--stdio"]):
{ "command": ["oxyaml", "--stdio"]}All existing "settings" in LSP-yaml.sublime-settings continue to work unchanged.