From 829ab22723ae8349b79a7928d7cc8e531b410b42 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 28 Dec 2015 14:58:35 +0100 Subject: Add cql support, closes #98 --- ftdetect/polyglot.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index ee6cd63a..80938e78 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -45,6 +45,12 @@ function! s:DetectCoffee() endfunction autocmd BufNewFile,BufRead * call s:DetectCoffee() endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cql') == -1 + +if has("autocmd") + au BufNewFile,BufRead *.cql set filetype=cql +endif +endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1 autocmd BufNewFile,BufReadPost *.feature,*.story set filetype=cucumber -- cgit v1.2.3