vmware-archive / sublime-text

Salt-related syntax highlighting and snippets for Sublime Text
Other
54 stars 10 forks source link

Proper sls syntax highlighting #5

Closed jacobsvante closed 9 years ago

jacobsvante commented 10 years ago

Any plans for this?

For example the comma in the following snippet makes everything on the rows below it end up yellow for me, until the next apostrophe is encountered.

{% for cert_name, cert_data in salt['pillar.get']['secrets:certificates'].items() %}
eshelman commented 10 years ago

I hate to give such a response, but perhaps it will keep the conversation going: I do not currently have the bandwidth to improve the sls formatting.

I've been told by others that the YAML highlighting in Sublime is buggy, which probably means that we'll have to implement our own (which is a task).

jacobsvante commented 10 years ago

I can imagine! Would definitely be up for the task if I get some free time some day (which barely never happens...)

anlutro commented 9 years ago

@eshelman https://github.com/saltstack/sublime-text/pull/6

eshelman commented 9 years ago

This has been merged and will be pushed into Sublime Package Control (which might take a couple days).