summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-09-12 17:26:31 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-09-12 17:26:31 +0200
commite32871fd4a8d0dca327011b81d214ab5321f853d (patch)
tree6bcc21362dd73006063f16faaa5f67e19cb09ab1 /ftdetect
parenta127ca5ff2f12ae6394abf2c147bf26802be5b7d (diff)
downloadvim-polyglot-e32871fd4a8d0dca327011b81d214ab5321f853d.tar.gz
vim-polyglot-e32871fd4a8d0dca327011b81d214ab5321f853d.zip
Add twig syntax support
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/twig.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/ftdetect/twig.vim b/ftdetect/twig.vim
new file mode 100644
index 00000000..06b70e2c
--- /dev/null
+++ b/ftdetect/twig.vim
@@ -0,0 +1,5 @@
+" Twig
+autocmd BufNewFile,BufRead *.twig set filetype=twig
+
+" HTML Twig
+autocmd BufNewFile,BufRead *.html.twig set filetype=html.twig