A Twig (+HTML) syntax mode for Coda (and possibly SubEthaEdit) written by bobthecow and extended by muxx.
Twig-HTML.mode currently supports:
- Partial HTML syntax highlighting (without inline CSS and Javascript).
- 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.
Drop Twig-HTML.mode
into ~Library/Application Support/Coda 2/Modes
. If that folder
doesn't exist, create it.
- Install.
- Open a file with a
.twig
extension in Coda 2 or SubEthaEdit. - Profit!