I was looking into something similar for the Nu language. The answer I believe is under the syntaxes section of the raw function. For syntax highlighting, you need a .sublime-syntax file. A quick look doesn’t pull up anything obvious for DAX, so you might have to define your own.
1 Like