Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Twig (+JavaScript) syntax mode for Coda and SubEthaEdit.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Contents
README.markdown

README.markdown

Twig (+JavaScript) syntax mode for Coda and SubEthaEdit

A Twig (+JavaScript) syntax mode for Coda (and possibly SubEthaEdit) written by bobthecow.

Twig.mode currently supports:

  • Complete JavaScript syntax highlighting.
  • All Twig template tags and constructs (through 0.9.10).
  • Blocks and macros in the Code Navigator.
  • Autocomplete for core Twig tags and filters.
  • i18n extension tags and filters (including autocompletion).
  • Symfony2 core Twig tags and filters.

Installation

Drop Twig-JavaScript.mode into ~Library/Application Support/Coda/Modes. If that folder doesn't exist, create it.

Usage

  1. Install.
  2. Open a file with a .js.twig extension in Coda or SubEthaEdit.
  3. ?
  4. Profit!
Something went wrong with that request. Please try again.