From 938a2f1667820c0ac9d5b08d4118aaf53e76a0cb Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 6 Dec 2015 11:34:19 +0100 Subject: Add vcl syntax, closes #82 --- ftdetect/polyglot.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index ae2d8a4a..65650431 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -406,6 +406,10 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vala') == -1 autocmd BufRead *.vala,*.vapi set efm=%f:%l.%c-%[%^:]%#:\ %t%[%^:]%#:\ %m au BufRead,BufNewFile *.vala,*.vapi setfiletype vala endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vcl') == -1 + +au BufRead,BufNewFile *.vcl set filetype=vcl +endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vm') == -1 au BufRead,BufNewFile *.vm set ft=velocity syntax=velocity -- cgit v1.2.3