An open API service indexing awesome lists of open source software.

https://github.com/james2doyle/sublime-twig

A collection of syntaxes and completions for Twig templates
https://github.com/james2doyle/sublime-twig

completions sublime syntax twig

Last synced: 4 months ago
JSON representation

A collection of syntaxes and completions for Twig templates

Awesome Lists containing this project

README

          

# Twig Sublime

> A collection of syntaxes and completions for Twig templates

### Why?

*How is this different from [Anomareh/PHP-Twig.tmbundle](https://github.com/Anomareh/PHP-Twig.tmbundle)?*

- Better highlighting, overall
- More completions (eventually)
- Line and block comments
- Uses native Sublime syntax highlighting, not Textmate bundle conversion

![Demo of the highlighting](demo.png)

### Usage

*With Git*

- `cd $HOME/Library/Application\ Support/Sublime\ Text\ 3/Packages`
- `git clone https://github.com/james2doyle/sublime-twig`

*With Package Control*

- "Package Control > Add Repository"
- https://github.com/james2doyle/sublime-twig
- "Package Control > Install Package"
- Install "sublime-twig" package

### TODOs

- [x] comments
- [x] tag completions
- [x] filter completions
- [x] function completions
- [x] test completions
- [ ] publish on Package Control