Language syntax that has it's own styling



I’m trying to create a language syntax that has it’s own styling and struggling to get the styling to be recognised… Does anyone know of any packages or language syntax packages that do this?



Has anyone experienced the problem of a grammar’s styling not being applied on load? The style does get applied if the package is reloaded (when in atom is in developer mode).

Even any vague thoughts on this would be appreciated. I’m totally stumped.

Btw, a package that reproduces the issue is here: