summaryrefslogtreecommitdiffstats
path: root/ftdetect/handlebars.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftdetect/handlebars.vim')
-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