From 2ed8751feb4e78fd37a822581a3ec4f7bfd627db Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 12 Sep 2013 17:34:37 +0200 Subject: Add handlebars templates support --- ftdetect/handlebars.vim | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 ftdetect/handlebars.vim (limited to 'ftdetect') 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 -- cgit v1.2.3