summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-09-12 17:34:37 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-09-12 17:34:37 +0200
commit2ed8751feb4e78fd37a822581a3ec4f7bfd627db (patch)
treec5686cab46f580a748d433c7c5272076dc588602 /ftdetect
parent3bd65161236bf5344619861fbe18b30f5bfd1a23 (diff)
downloadvim-polyglot-2ed8751feb4e78fd37a822581a3ec4f7bfd627db.tar.gz
vim-polyglot-2ed8751feb4e78fd37a822581a3ec4f7bfd627db.zip
Add handlebars templates support
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/handlebars.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftdetect/handlebars.vim b/ftdetect/handlebars.vim
new file mode 100644
index 00000000..45198d66
--- /dev/null
+++ b/ftdetect/handlebars.vim
@@ -0,0 +1,3 @@
+if has("autocmd")
+ au BufNewFile,BufRead *.{handlebars,hb,hbs,hbt}{,.erb} set ft=html syntax=handlebars | runtime! ftplugin/handlebars.vim ftplugin/handlebars*.vim ftplugin/handlebars/*.vim
+endif