Probably a crazy question, but is it possible to add syntax rules based on the content of the file being viewed?
For instance, I have a homebrew language where you can define macros:
Macro:(Sausages,…)
EndM
Sausages:(…
I’d love to be able to get Sublime to recognise and highlight ‘Sausages:(’ as the use of a macro. Is this remotely feasible?
Thanks