summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-12-06 11:34:19 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2015-12-06 11:34:19 +0100
commit938a2f1667820c0ac9d5b08d4118aaf53e76a0cb (patch)
tree0103bc2d8fa8c4b751c08a6d5a72b78c843aee6a /ftdetect
parent303b3f1b434f26f936c241789c84dca6e2f50df2 (diff)
downloadvim-polyglot-938a2f1667820c0ac9d5b08d4118aaf53e76a0cb.tar.gz
vim-polyglot-938a2f1667820c0ac9d5b08d4118aaf53e76a0cb.zip
Add vcl syntax, closes #82
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim4
1 files changed, 4 insertions, 0 deletions
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