https://github.com/qbbr/vim-twig
Twig syntax and snippets for Vim
https://github.com/qbbr/vim-twig
snippets twig vim
Last synced: 5 months ago
JSON representation
Twig syntax and snippets for Vim
- Host: GitHub
- URL: https://github.com/qbbr/vim-twig
- Owner: qbbr
- Created: 2011-09-12T15:12:43.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2023-12-14T15:21:08.000Z (over 2 years ago)
- Last Synced: 2025-04-06T04:43:55.482Z (about 1 year ago)
- Topics: snippets, twig, vim
- Language: Vim Script
- Homepage:
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Twig syntax and snippets for Vim
[Twig](https://twig.symfony.com/) syntax and snippets.
Based on [evidens vim-twig](https://github.com/evidens/vim-twig)
## Syntax
`*.html.twig`, `*.twig`
## Snippets
```
{
#
%
asset
autoescape
block
iblock
constant
do
d, dump
else
elseif
embed
endblock
endfor
endif
extends
filter
flush
for
from
if
iif
import
include
macro
parent
path
raw
render
sandbox
set
setblock
spaceless
url
use
verbatim
```