Page MenuHomeDevCentral

SaltStack support for nano
Closed, ResolvedPublic

Description

Nano has now YAML syntax highlighting.

We can so add dumb SLS support in nano for SaltStack as YAML:

nano_sls_support:
  file.replace:
    - name: {{ dirs.share }}/nano/yaml.nanorc
- syntax yaml "\.ya?ml$"
+ syntax yaml "\.(ya?ml|sls)$"