A Coda syntax mode for Dustjs copied from the Smarty mode built into Coda and modified by Tim Sullivan.
Drop Dust.mode
into ~Library/Application Support/Coda 2/Modes
(or .../Coda/Modes
if you're not using Coda 2). If that folder doesn't exist, create it.
-
Install.
-
Open a file with a
.dust
extension in Coda or SubEthaEdit. -
To turn on highlighting manually in Coda go to
Text -> Syntax Mode -> Dust
. -
To make all dust files use this syntax by default in Coda, go to
Coda -> Preferences -> Custom Syntax Modes
and add an entry with valuesExtension
:dust
andSyntax Mode
:Dust
- Dust tokens containing quotes aren't highlighting correctly
- Autocomplete for Dust syntax isn't really implemented