Slim is a beautiful, lightweight templating engine. Coda 2 Slim.mode is a Slim syntax definition for Coda 2, so you can enjoy the benefits of syntax highlighting while you edit.
You have two options for installation...
You can use git to checkout this repository to the relevant folder:
~/Library/Application Support/Coda 2/Modes/Slim.mode
- Download the latest version of this repository.
- Unzip it
- Rename the resulting folder to "Slim.mode"
- Double click the "Slime.mode" bundle, and SubEthaEdit or Coda should offer to install the mode in the right place.
Multi-line blocks are not handled correctly. I don't think there is a way to match indentation levels in a SyntaxDefinition.xml file, but let me know if I'm wrong.
James A. Overton (james@overton.ca)
Updated for Coda 2 by Nate Walton