This repository provides a small package to help with syntax highlighting of Singularity recipe files in the Atom editor. The package is published on apm and can be updated as needed.
Note that for files that are named
Singularity.* (with a Singularity prefix and a custom
extension to indicate a tag) the highlighter is activated on save, or on change
of the title. The others that are named just
Singularity or end in
rendered on load. Thus, if you open a file called
it doesn't highlight right away, just save it and it will trigger the event.
The syntax is fairly simple thus far, and looks like this:
Please contribute by issuing a pull request to this repository!
The package itself, as an "official package," should be published, but you
can easily clone this repository and put it in your
(and maintain the name starting with
language- to have it be discovered. You
should likely restart your editor, and then save a file that ends in
def or has
Most of the guidance for the regular expressions is taken from language-docker that has very similar syntax highlighting.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.