HomeDevCentral

Parse .sls as YAML for nano syntax highlighting

Description

Parse .sls as YAML for nano syntax highlighting

Summary:
As nano added YAML parsing syntax, it's possible to leverage this
to highlight .sls in addition to .yml and .yaml. Even if Jinja2
templates blocks are ignored, it's a great help, especially compared
to no syntax at all.

Fixes T1759.

Test Plan: Deploy on WindRiver

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1759

Differential Revision: https://devcentral.nasqueron.org/D2863

Details

Provenance
derecksonAuthored on Mar 8 2023, 21:26
derecksonPushed on Mar 8 2023, 21:30
Reviewer
dereckson
Differential Revision
D2863: Parse .sls as YAML for nano syntax highlighting
Parents
rOPSe26f76557ce5: Configure network and health check for Redis
Branches
Unknown
Tags
Unknown
Tasks
T1759: SaltStack support for nano