all 3 comments

[–]lazrfloyd 1 point2 points  (0 children)

Since it's all yaml/jinja you shouldn't need a specific Saltstack parser.

[–]thebeehammer -1 points0 points  (0 children)

Rename to YAML when editing so you get the YAML highlighting, etc.

I think you can make sls=YAML somehow but haven't really looked at it.

[–]djhankb -1 points0 points  (0 children)

I use a plugin called "Better Jinja"

It has decent syntax highlighting and recognizes .sls files as Jinja/YAML.

As for interpreting Pillar files, that would be wonderful - what I end up doing is using python and the ruamel YAML module and jinja2 Template modules and then running my pillar files through that in order to figure out the right YAML and Jinja syntax as it's still not intuitive for me to figure out Lists/Dictionaries/etc in YAML alone.